2024-10-10
This commit is contained in:
9
web/include/setlang.php
Normal file
9
web/include/setlang.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php if(isset($OJ_LANG)){
|
||||
require_once(dirname(__FILE__)."/../lang/$OJ_LANG.php");
|
||||
if(file_exists("./faqs.$OJ_LANG.php")){
|
||||
$OJ_FAQ_LINK="./faqs.$OJ_LANG.php";
|
||||
}
|
||||
}else{
|
||||
require_once("./lang/en.php");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user