Upgrade: Completed Data Type check option and multilinguified everything.
This commit is contained in:
@@ -37,6 +37,13 @@
|
||||
require_once "resources/require.php";
|
||||
$_SERVER["DOCUMENT_ROOT"] = $document_root;
|
||||
$response_format = 'text'; //html, text
|
||||
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
}
|
||||
else if (!$included) {
|
||||
include "root.php";
|
||||
@@ -50,6 +57,12 @@
|
||||
exit;
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
require_once "resources/header.php";
|
||||
$document['title'] = $text['title-upgrade_schema'];
|
||||
|
||||
@@ -57,13 +70,6 @@
|
||||
}
|
||||
|
||||
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
|
||||
//set the default
|
||||
if (!isset($response_output)) {
|
||||
$response_output = "echo";
|
||||
|
||||
Reference in New Issue
Block a user