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