Make the login.php use the correct app_languages.php file. Reason to do this is because login.php in the root is put in a position as being part of the core so I wanted the translations to be part of the core as well. And user settings is related to the user login. App/login is in the app directory to make the login and logout as an optional part of the menu since they could be incorporated in the theme.

This commit is contained in:
Mark Crane
2013-01-05 10:06:32 +00:00
parent 614011f2c1
commit c6fa71125d
2 changed files with 7 additions and 6 deletions

View File

@@ -34,9 +34,7 @@ include "root.php";
require_once "includes/require.php";
//add multi-lingual support
echo "<!--\n";
require_once "core/login/app_languages.php";
echo "-->\n";
require_once "core/user_settings/app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}