BUG 6856 Error while downloading a pm library process curl_init is not definded

improving the message to this function
This commit is contained in:
Carlos Pacha
2011-05-12 12:27:13 -04:00
parent 67775896be
commit 9d50c86eda

View File

@@ -3322,7 +3322,9 @@ class Processes {
}
if (!function_exists('curl_init')){
throw ( new Exception (G::LoadTranslation('ID_CURLFUN_ISUNDEFINED')) );die();
G::SendTemporalMessage ('ID_CURLFUN_ISUNDEFINED', "warning",'LABEL','','100%','');
G::header('location: ../processes/processes_Library');
die();
}
$ch = curl_init();