1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Fix for install routine issue. Suppress any errors when not in debug mode.

This commit is contained in:
Cameron
2013-03-15 05:50:44 -07:00
parent 33e7300b32
commit 5effcd6dc2

View File

@@ -39,7 +39,7 @@ define("E107_INSTALL",TRUE);
if($_SERVER['QUERY_STRING'] != "debug")
{
error_reporting(E_ALL ^ E_NOTICE); //3rd Party Plugins may cause PHP Notices at the conclusion of installation.
error_reporting(0); // suppress all errors unless debugging.
}
else
{
@@ -1882,4 +1882,4 @@ function template_data()
return $data;
}
?>