Index: branches/5.1.x/core/units/helpers/curl_helper.php =================================================================== diff -u -N -r14325 -r14365 --- branches/5.1.x/core/units/helpers/curl_helper.php (.../curl_helper.php) (revision 14325) +++ branches/5.1.x/core/units/helpers/curl_helper.php (.../curl_helper.php) (revision 14365) @@ -1,6 +1,6 @@ debugMode) { safeDefine('DBG_CURL_LOGFILE', '/curl.log'); - $this->logFilePointer = fopen(FULL_PATH.DBG_CURL_LOGFILE, 'a'); + $this->logFilePointer = fopen((defined('RESTRICTED') ? RESTRICTED : FULL_PATH) . DBG_CURL_LOGFILE, 'a'); $user_id = $this->Application->RecallVar('user_id'); $data = $_SERVER['REMOTE_ADDR'] . ' - ['.adodb_date('D M d H:i:s Y').'] ' . $_SERVER['REQUEST_URI'] . '; user_id: '.$user_id.'; sid: '.$this->Application->GetSID();