mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 10:57:27 +08:00
require lang_functions every page
This commit is contained in:
+1
-1
@@ -18,8 +18,8 @@ ini_set('date.timezone', nexus_config('nexus.timezone'));
|
||||
$Cache = new class_cache_redis(); //Load the caching class
|
||||
$Cache->setLanguageFolderArray(get_langfolder_list());
|
||||
require $rootpath . 'include/config.php';
|
||||
require $rootpath . get_langfile_path("functions.php");
|
||||
if (!isRunningInConsole() && !in_array(nexus()->getScript(), ['announce', 'scrape', 'torrentrss', 'download'])) {
|
||||
require $rootpath . get_langfile_path("functions.php");
|
||||
checkGuestVisit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user