DOCSYSTEM Cambios en los mensajes de error_log en instalador

Cambios en los mensajes de error_log en instalador
This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-04-23 09:55:29 -04:00
parent 17edbf321c
commit d5f099dd24

View File

@@ -1372,8 +1372,6 @@ EOL;
curl_setopt($ch, CURLOPT_TIMEOUT, 90);
$output = curl_exec($ch);
error_log('1 logeo-----------------');
error_log($output);
curl_close($ch);
/**
@@ -1385,8 +1383,17 @@ EOL;
// File to upload/post
$postData['form[LANGUAGE_FILENAME]'] = "@".PATH_CORE."content/translations/processmaker.$lang.po";
curl_setopt($ch, CURLOPT_URL, "$serv/sys{$workspace}/{$lang}/classic/setup/languages_Import");
$url = "$serv/sys{$workspace}/{$lang}/classic/setup/languages_Import";
error_log('2 lenguaje-----------------');
error_log('--- LENGUAJE');
error_log($postData['form[LANGUAGE_FILENAME]']);
error_log('--- URL');
error_log($url);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookiefile);
@@ -1397,7 +1404,8 @@ EOL;
curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
curl_setopt($ch, CURLOPT_TIMEOUT, 90);
$output = curl_exec($ch);
error_log('2 lenguaje-----------------');
error_log('-- RESP');
error_log($output);
curl_close($ch);
@@ -1431,8 +1439,6 @@ EOL;
curl_setopt($ch, CURLOPT_TIMEOUT, 90);
$output = curl_exec($ch);
error_log('3 skin-----------------');
error_log($output);
curl_close($ch);
}
@@ -1460,10 +1466,7 @@ EOL;
curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
curl_setopt($ch, CURLOPT_TIMEOUT, 90);
$output = curl_exec($ch);
error_log('4 plugin-----------------');
error_log($output);
curl_close($ch);
}