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:
@@ -19,11 +19,11 @@ if (!defined('e107_INIT'))
|
||||
if (!defined('ADMIN_AREA'))
|
||||
{
|
||||
//avoid PHP warning
|
||||
define("ADMIN_AREA", TRUE);
|
||||
define("ADMIN_AREA", true);
|
||||
}
|
||||
if(!defined('USER_AREA'))
|
||||
{
|
||||
define("USER_AREA", FALSE);
|
||||
define("USER_AREA", false);
|
||||
}
|
||||
|
||||
e107::getDebug()->logTime('(Header Top)');
|
||||
|
Reference in New Issue
Block a user