PHP < 8.1 ini_set() only accepts strings when declare(strict_types=1); is used

This commit is contained in:
the-djmaze 2023-01-27 16:07:05 +01:00
parent 2750e0698d
commit 32e933b435
4 changed files with 10 additions and 10 deletions

View file

@ -48,8 +48,8 @@ if (!defined('APP_INDEX_ROOT_PATH')) {
// revoke permissions
umask(0077);
ini_set('register_globals', 0);
ini_set('xdebug.max_nesting_level', 500);
ini_set('register_globals', '0');
ini_set('xdebug.max_nesting_level', '500');
define('APP_VERSION_ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);