mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
support plugin nexusphp-hit-and-run
This commit is contained in:
+2
-1
@@ -34,7 +34,8 @@ class Imdb
|
||||
|
||||
public static function listSupportLanguages(): array
|
||||
{
|
||||
$data = require_once sprintf('%s/resources/lang/%s/imdb.php', ROOT_PATH, get_langfolder_cookie(true));
|
||||
$file = sprintf('%s/resources/lang/%s/imdb.php', ROOT_PATH, get_langfolder_cookie(true));
|
||||
$data = include $file;
|
||||
return $data['languages'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user