mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Changing how CakeLog registers itself as the error handler, this fixes issues with e-accelerator on some platforms. Fixes #1597, fixes #1087
This commit is contained in:
parent
cf0e9c0a31
commit
9c860d2ce8
1 changed files with 2 additions and 1 deletions
|
@ -287,5 +287,6 @@ class CakeLog {
|
|||
}
|
||||
|
||||
if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) {
|
||||
set_error_handler(array('CakeLog', 'handleError'));
|
||||
$cakeLog =& CakeLog::getInstance();
|
||||
set_error_handler(array($cakeLog, 'handleError'));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue