mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-14 17:21:35 +01:00
Bugfix for 0.9.2
This commit is contained in:
@@ -154,7 +154,7 @@ function textTypeChk($typeChk){
|
|||||||
}
|
}
|
||||||
|
|
||||||
//This function is an alias to Twig render, with "standard args" added
|
//This function is an alias to Twig render, with "standard args" added
|
||||||
function renderPage($page,$array){
|
function renderPage($page,$array = array()){
|
||||||
$T_ = loadLang(); //Load transactions
|
$T_ = loadLang(); //Load transactions
|
||||||
//Default params to send
|
//Default params to send
|
||||||
$allarray = array(
|
$allarray = array(
|
||||||
@@ -174,4 +174,4 @@ function loadLang(){
|
|||||||
require __DIR__."/assets/translations/en.php"; //Ever first English, and then your lang (Database)
|
require __DIR__."/assets/translations/en.php"; //Ever first English, and then your lang (Database)
|
||||||
require __DIR__."/assets/translations/".LANG.".php";
|
require __DIR__."/assets/translations/".LANG.".php";
|
||||||
return $T_;
|
return $T_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user