error reporting level set in E_ALL & ~E_NOTICE by default, can be overriden in config

This commit is contained in:
Maryana Rozhankivska
2014-06-02 18:00:09 +03:00
parent 5d198e2b98
commit 752cd4a8ef
4 changed files with 11 additions and 4 deletions

View File

@ -12,6 +12,11 @@ define ('POCHE', '1.7.0');
require 'check_setup.php';
require_once 'inc/poche/global.inc.php';
# Set error reporting level
if (defined('ERROR_REPORTING')) {
error_reporting(ERROR_REPORTING);
}
# Start session
Session::$sessionName = 'poche';
Session::init();