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:
Mark Crane 2012-10-08 21:57:09 +00:00
parent 68b9593f07
commit baa374c056
2 changed files with 24 additions and 21 deletions

View File

@ -31,11 +31,14 @@ if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php"))
require_once "includes/require.php";
require_once "includes/checkauth.php";
require_once "includes/header.php";
require_once "app_languages.php";
echo "<br />";
echo "<br />";
//add multi-lingual support
echo "<!--\n";
require_once "app_languages.php";
echo "-->\n";
foreach($content as $key => $value) {
$content[$key] = $value[$_SESSION['domain']['language']['code']];
}