This code is so fragile due to cakephp being fucked. So many regrets of framework choice

This commit is contained in:
Karl Cordes 2016-04-30 12:33:03 +10:00
parent 446bf72898
commit caf7050e7f
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
<?php <?php
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
/* SVN FILE: $Id: core.php 7296 2008-06-27 09:09:03Z gwoo $ */ /* SVN FILE: $Id: core.php 7296 2008-06-27 09:09:03Z gwoo $ */
/** /**
* This is core configuration file. * This is core configuration file.

View file

@ -30,7 +30,7 @@ if (!defined('PHP5')) {
if (!defined('E_DEPRECATED')) { if (!defined('E_DEPRECATED')) {
define('E_DEPRECATED', 8192); define('E_DEPRECATED', 8192);
} }
error_reporting(~E_ALL & ~E_DEPRECATED); error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
/** /**
* Configuration, directory layout and standard libraries * Configuration, directory layout and standard libraries
*/ */