Merge pull request #314 from aedrin/patch-1

Add missing translations in SINGLE_USER_MODE
This commit is contained in:
Andrew Dolgov 2013-10-15 09:14:13 -07:00
commit 3e928c06cd
1 changed files with 1 additions and 0 deletions

View File

@ -819,6 +819,7 @@
if (SINGLE_USER_MODE) { if (SINGLE_USER_MODE) {
@session_start(); @session_start();
authenticate_user("admin", null); authenticate_user("admin", null);
startup_gettext();
load_user_plugins($_SESSION["uid"]); load_user_plugins($_SESSION["uid"]);
} else { } else {
if (!validate_session()) $_SESSION["uid"] = false; if (!validate_session()) $_SESSION["uid"] = false;