Attempting to make this run on modern PHP versions. Sigh
This commit is contained in:
parent
2464a39465
commit
446bf72898
|
|
@ -144,7 +144,7 @@ Configure::write('Cache.disable', true);
|
|||
* Defines the default error type when using the log() function. Used for
|
||||
* differentiating error logging and debugging. Currently PHP supports LOG_DEBUG.
|
||||
*/
|
||||
define('LOG_ERROR', 2);
|
||||
define('LOG_ERROR', 0);
|
||||
/**
|
||||
* The preferred session handling method. Valid values:
|
||||
*
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ if (!defined('PHP5')) {
|
|||
if (!defined('E_DEPRECATED')) {
|
||||
define('E_DEPRECATED', 8192);
|
||||
}
|
||||
error_reporting(E_ALL & ~E_DEPRECATED);
|
||||
error_reporting(~E_ALL & ~E_DEPRECATED);
|
||||
/**
|
||||
* Configuration, directory layout and standard libraries
|
||||
*/
|
||||
|
|
@ -49,4 +49,4 @@ error_reporting(E_ALL & ~E_DEPRECATED);
|
|||
$url = null;
|
||||
|
||||
App::import('Core', array('Dispatcher'));
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue