mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Fix $GLOBALS check.
This commit is contained in:
parent
8db0278a9f
commit
b927997759
@ -1149,9 +1149,10 @@
|
||||
|
||||
// $ADMIN_DIRECTORY = e107::getFolder('admin');
|
||||
|
||||
if($GLOBALS['E107_CLEAN_EXIT'])
|
||||
{
|
||||
|
||||
|
||||
if(!empty($GLOBALS['E107_CLEAN_EXIT']))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1171,7 +1172,7 @@
|
||||
//
|
||||
// Error while in the footer, or during startup, or during above processing
|
||||
//
|
||||
if($GLOBALS['E107_CLEAN_EXIT'])
|
||||
if(!empty($GLOBALS['E107_CLEAN_EXIT']))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user