Fix white space problems with app_languages.php replace the spaces with a single tab. Hide the utf8 artifact on the main page that you see after logging in.
This commit is contained in:
parent
68b9593f07
commit
baa374c056
11
index2.php
11
index2.php
|
|
@ -31,11 +31,14 @@ if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php"))
|
||||||
require_once "includes/require.php";
|
require_once "includes/require.php";
|
||||||
require_once "includes/checkauth.php";
|
require_once "includes/checkauth.php";
|
||||||
require_once "includes/header.php";
|
require_once "includes/header.php";
|
||||||
|
|
||||||
|
echo "<br />";
|
||||||
|
echo "<br />";
|
||||||
|
|
||||||
|
//add multi-lingual support
|
||||||
|
echo "<!--\n";
|
||||||
require_once "app_languages.php";
|
require_once "app_languages.php";
|
||||||
|
echo "-->\n";
|
||||||
echo "<br />";
|
|
||||||
echo "<br />";
|
|
||||||
|
|
||||||
foreach($content as $key => $value) {
|
foreach($content as $key => $value) {
|
||||||
$content[$key] = $value[$_SESSION['domain']['language']['code']];
|
$content[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue