"partly reverting r28676, as array2string and function_backtrace is not yet loaded"

This commit is contained in:
Ralf Becker
2009-12-03 07:44:10 +00:00
parent 8668f638be
commit 4e2a8131c3

View File

@ -41,7 +41,7 @@ class egw_session
/**
* Write debug messages about session verification and creation to the error_log
*/
const ERROR_LOG_DEBUG = false;
const ERROR_LOG_DEBUG = true;
/**
* key of eGW's session-data in $_SESSION
@ -749,7 +749,7 @@ class egw_session
{
$sessionid = false;
}
if (self::ERROR_LOG_DEBUG) error_log(__METHOD__.'() returning '.array2string($sessionid).' called from:'.function_backtrace());
if (self::ERROR_LOG_DEBUG) error_log(__METHOD__.'() returning '.print_r($sessionid,true));
return $sessionid;
}