1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

Use e107::getFolder() for $ADMIN_DIRECTORY.

This commit is contained in:
Cameron
2021-01-16 16:13:48 -08:00
parent b927997759
commit 4c32e60bad
3 changed files with 11 additions and 12 deletions

View File

@@ -17,7 +17,9 @@ if (!defined('e107_INIT'))
{
exit;
}
$In_e107_Footer = TRUE; // For registered shutdown function
$GLOBALS['E107_IN_FOOTER'] = true; // For registered shutdown function
global $error_handler,$db_time,$ADMIN_FOOTER;
@@ -414,7 +416,7 @@ $page = $ehd->getOutput();
// real output
echo $page;
unset($In_e107_Footer);
$GLOBALS['E107_IN_FOOTER'] = false;
// Clean session shutdown