mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
settings load from database and i18n from config files
This commit is contained in:
@@ -3,9 +3,6 @@ if(!defined('IN_TRACKER'))
|
||||
die('Hacking attempt!');
|
||||
error_reporting(E_ALL);
|
||||
|
||||
require $rootpath . 'include/functions.php';
|
||||
require $rootpath . 'include/globalfunctions.php';
|
||||
|
||||
require $rootpath . 'include/database/interface_db.php';
|
||||
require $rootpath . 'include/database/class_db_mysqli.php';
|
||||
require $rootpath . 'include/database/class_db.php';
|
||||
@@ -14,12 +11,10 @@ require $rootpath . 'include/database/class_exception.php';
|
||||
|
||||
require $rootpath . 'classes/class_advertisement.php';
|
||||
require $rootpath . 'classes/class_cache_redis.php';
|
||||
|
||||
require $rootpath . 'include/config.php';
|
||||
require $rootpath . get_langfile_path("functions.php");
|
||||
|
||||
|
||||
ini_set('display_errors', $TWEAK['display_errors']);
|
||||
|
||||
$Cache = new RedisCache(); //Load the caching class
|
||||
$Cache->setLanguageFolderArray(get_langfolder_list());
|
||||
define('TIMENOW', time());
|
||||
|
||||
Reference in New Issue
Block a user