diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-10 16:25:53 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-10 16:25:53 +0100 |
| commit | 92e9e409e2b27e9c09ed02d4312e28ff3767e181 (patch) | |
| tree | 13023bd80c0bb4d046f1b6d166756f8db3dacfba | |
| parent | a46c857c5f2da9829b6097a73004a33ba0500538 (diff) | |
| download | kernel-92e9e409e2b27e9c09ed02d4312e28ff3767e181.tar.gz kernel-92e9e409e2b27e9c09ed02d4312e28ff3767e181.tar.bz2 kernel-92e9e409e2b27e9c09ed02d4312e28ff3767e181.zip | |
Restore BIT_PHP_ERROR_REPORTING setting for error_reporting, bit_error reports are now married to this properly
| -rwxr-xr-x | includes/config_defaults_inc.php | 2 | ||||
| -rwxr-xr-x | includes/setup_inc.php | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/includes/config_defaults_inc.php b/includes/config_defaults_inc.php index cfa1bc2..d674433 100755 --- a/includes/config_defaults_inc.php +++ b/includes/config_defaults_inc.php @@ -95,7 +95,7 @@ if( !defined( 'DISPLAY_ERRORS' ) ) { //} // define where errors are sent if( !defined( 'BIT_PHP_ERROR_REPORTING' ) ) { - define( 'BIT_PHP_ERROR_REPORTING', E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING ); + define( 'BIT_PHP_ERROR_REPORTING', E_ALL & ~E_NOTICE & ~E_WARNING ); } // don't change / set _IDs unless you know exactly what you are doing if( !defined( 'ROOT_USER_ID' ) ) { diff --git a/includes/setup_inc.php b/includes/setup_inc.php index 9d4e0c3..5ccbe51 100755 --- a/includes/setup_inc.php +++ b/includes/setup_inc.php @@ -28,7 +28,7 @@ require_once KERNEL_PKG_INCLUDE_PATH.'bit_error_inc.php'; use Bitweaver\KernelTools; // set error reporting -error_reporting( E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING ); // BIT_PHP_ERROR_REPORTING ); // +error_reporting( BIT_PHP_ERROR_REPORTING ); if( ini_get( 'safe_mode' ) && ini_get( 'safe_mode_gid' )) { umask( 0007 ); @@ -122,8 +122,9 @@ if( $gBitSystem->isDatabaseValid() ) { } define( 'UTIL_PKG_URL', $root.'util/' ); define( 'LIBERTY_PKG_URL', $root.'liberty/' ); - + // load only installed and active packages + $gBitSystem->scanPackages( 'bit_setup_inc.php', true, 'active', true, true ); $gBitSmarty->scanPackagePluginDirs(); |
