Skip to content
Snippets Groups Projects
Commit ad83db89 authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #255 from protich/issue/21


Installer error reporting setting.

Reviewed-by: default avatarJared Hancock <jared@osticket.com>
parents 23dfa94d 5de869f9
No related branches found
No related tags found
No related merge requests found
...@@ -17,8 +17,14 @@ ...@@ -17,8 +17,14 @@
#This version - changed on every release #This version - changed on every release
define('THIS_VERSION', '1.7-RC2'); define('THIS_VERSION', '1.7-RC2');
#inits #inits - error reporting.
error_reporting(E_ALL ^ E_NOTICE); //turn on errors?? $error_reporting = E_ALL & ~E_NOTICE;
if (defined('E_STRICT')) # 5.4.0
$error_reporting &= ~E_STRICT;
if (defined('E_DEPRECATED')) # 5.3.0
$error_reporting &= ~(E_DEPRECATED | E_USER_DEPRECATED);
error_reporting($error_reporting);
ini_set('magic_quotes_gpc', 0); ini_set('magic_quotes_gpc', 0);
ini_set('session.use_trans_sid', 0); ini_set('session.use_trans_sid', 0);
ini_set('session.cache_limiter', 'nocache'); ini_set('session.cache_limiter', 'nocache');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment