mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #4299 - PHP8 compatibility fixes.
This commit is contained in:
@@ -1135,12 +1135,12 @@
|
||||
|
||||
if(!isset($In_e107_Footer))
|
||||
{
|
||||
if(defset('ADMIN_AREA'))
|
||||
if(deftrue('ADMIN_AREA'))
|
||||
{
|
||||
$filewanted = realpath(__DIR__) . '/../' . $ADMIN_DIRECTORY . 'footer.php';
|
||||
require_once($filewanted);
|
||||
}
|
||||
elseif(defset('USER_AREA'))
|
||||
elseif(deftrue('USER_AREA'))
|
||||
{
|
||||
$filewanted = realpath(__DIR__) . '/../' . FOOTERF;
|
||||
require_once($filewanted);
|
||||
|
Reference in New Issue
Block a user