mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
fix php8 compatibility
This commit is contained in:
@@ -11,6 +11,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . $rootpath);
|
||||
$rootpath .= "/";
|
||||
require $rootpath . 'include/config.php';
|
||||
require $rootpath . 'include/functions.php';
|
||||
require $rootpath . 'include/globalfunctions.php';
|
||||
require $rootpath . get_langfile_path("functions.php");
|
||||
|
||||
require $rootpath . 'include/database/interface_db.php';
|
||||
require $rootpath . 'include/database/class_db_mysqli.php';
|
||||
@@ -18,4 +20,11 @@ require $rootpath . 'include/database/class_db.php';
|
||||
require $rootpath . 'include/database/helpers.php';
|
||||
require $rootpath . 'include/database/class_exception.php';
|
||||
|
||||
require $rootpath . 'classes/class_advertisement.php';
|
||||
require $rootpath . 'classes/class_cache_redis.php';
|
||||
|
||||
require $rootpath . 'include/core.php';
|
||||
|
||||
if (!session_id()) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user