Added error_reporting()
* I talk a big game about E_STRICT, but seems I no longer had it set.
This commit is contained in:
parent
e2c2e6db1c
commit
a191a99561
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@
|
|||
* @usage <code>require_once 'pickles.php';</code>
|
||||
*/
|
||||
|
||||
// @todo Add options to the config to set this, and/or have it only run
|
||||
// E_STRICT display ON locally (perhaps by IP?)
|
||||
ini_set('display_errors', true);
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
|
||||
// @todo Allow users to override the timezone from their configuration file.
|
||||
// Sets the timezone to avoid Smarty warnings
|
||||
if (ini_get('date.timezone') == '')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue