Skip to content

Commit

Permalink
Update common.php
Browse files Browse the repository at this point in the history
  • Loading branch information
orynider authored Apr 10, 2024
1 parent cc60f6a commit bb5fe9f
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions common.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
*
* @package MX-Publisher Core
* @version $Id: common.php,v 1.123 2024/04/02 06:19:17 orynider Exp $$
* @copyright (c) 2002-2023 MX-Publisher Development Team
* @version $Id: common.php,v 1.123 2024/04/10 06:19:17 orynider Exp $$
* @copyright (c) 2002-2024 MX-Publisher Development Team
* @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2
* @link http://mxpcms.sourceforge.net/
*
Expand All @@ -22,10 +22,13 @@
define('E_STRICT', 2048);
}

//Overwrite config.sys settings
if (!defined('MX_ENVIRONMENT'))
{
@define('MX_ENVIRONMENT', 'production');
//@define('MX_ENVIRONMENT', 'production');
@define('MX_DISPLAY_LOAD_TIME', true);
@define('MX_ENVIRONMENT', 'development');
@define('DEBUG_CONTAINER', true);
}

/*
Expand All @@ -44,11 +47,12 @@
define('DEBUG', true); // [Admin Option] Show Footer debug stats - Actually set in phpBB/includes/constants.php
define('DEBUG_EXTRA', true); // [Admin Option] Show memory usage. Show link to full SQL debug report in footer. Beware, this makes the page slow to load. For debugging only.
define('INCLUDES', 'includes/'); //Main Includes folder
@ini_set('display_errors', '1');
//@error_reporting(E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
//@error_reporting(E_ALL | E_NOTICE | E_STRICT);
@error_reporting(E_ALL & ~E_NOTICE); //Default error reporting in PHP 5.2+
@session_cache_expire (1440);
ini_set('display_errors', '1');
//error_reporting(E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
//error_reporting(E_ALL | E_NOTICE | E_STRICT);
//error_reporting(E_ALL & ~E_NOTICE); //Default error reporting in PHP 5.2+
error_reporting(E_ALL);
session_cache_expire (1440);
@set_time_limit (1500);

// ================================================================================
Expand Down

0 comments on commit bb5fe9f

Please sign in to comment.