1
0
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:
Cameron
2021-01-16 15:53:56 -08:00
parent 8db0278a9f
commit b927997759

View File

@@ -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;
} }