CoreLibs Array keyword remove and switch over to []

This commit is contained in:
Clemens Schwaighofer
2021-06-30 15:07:22 +09:00
parent 76e0c0ac06
commit 678aa7460e
17 changed files with 57 additions and 46 deletions

View File

@@ -81,8 +81,8 @@ if (!$login->login) {
// can be overridden when setting DEBUG_ALL_OVERRIDE on top of the script (for emergency debugging of one page only)
if ((TARGET == 'live' || TARGET == 'remote') && !$DEBUG_ALL_OVERRIDE) {
foreach (['debug', 'echo', 'print'] as $target) {
$login->log->setLogLevelAll($type, false);
$cms->log->setLogLevelAll($type, false);
$login->log->setLogLevelAll($target, false);
$cms->log->setLogLevelAll($target, false);
}
}
$smarty->DATA['JS_DEBUG'] = DEBUG;