DOCSYSTEM Añadi mas errorl_log luego los quitare
Añadi mas errorl_log luego los quitare
This commit is contained in:
@@ -1410,6 +1410,18 @@ EOL;
|
|||||||
$postData = array();
|
$postData = array();
|
||||||
|
|
||||||
// File to upload/post
|
// File to upload/post
|
||||||
|
$parm1 = "@".PATH_CORE."content/translations/processmaker.$lang.po";
|
||||||
|
|
||||||
|
error_log('parm1 ------');
|
||||||
|
error_log($parm1);
|
||||||
|
error_log('------');
|
||||||
|
|
||||||
|
$parm2 = "$serv/sys{$workspace}/{$lang}/classic/setup/languages_Import";
|
||||||
|
|
||||||
|
error_log('parm2 ------');
|
||||||
|
error_log($parm2);
|
||||||
|
error_log('------');
|
||||||
|
|
||||||
$postData['form[LANGUAGE_FILENAME]'] = "@".PATH_CORE."content/translations/processmaker.$lang.po";
|
$postData['form[LANGUAGE_FILENAME]'] = "@".PATH_CORE."content/translations/processmaker.$lang.po";
|
||||||
curl_setopt($ch, CURLOPT_URL, "$serv/sys{$workspace}/{$lang}/classic/setup/languages_Import");
|
curl_setopt($ch, CURLOPT_URL, "$serv/sys{$workspace}/{$lang}/classic/setup/languages_Import");
|
||||||
curl_setopt($ch, CURLOPT_HEADER, 0);
|
curl_setopt($ch, CURLOPT_HEADER, 0);
|
||||||
@@ -1423,7 +1435,9 @@ EOL;
|
|||||||
curl_setopt($ch, CURLOPT_TIMEOUT, 90);
|
curl_setopt($ch, CURLOPT_TIMEOUT, 90);
|
||||||
|
|
||||||
$output = curl_exec($ch);
|
$output = curl_exec($ch);
|
||||||
|
error_log('respuesta ------');
|
||||||
error_log($output);
|
error_log($output);
|
||||||
|
error_log('------');
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user