Commit 8df4460b authored by Franco Fichtner's avatar Franco Fichtner

www: properly set language for login page

parent 21cbb2b0
...@@ -51,8 +51,6 @@ if (!$omit_nocacheheaders) { ...@@ -51,8 +51,6 @@ if (!$omit_nocacheheaders) {
} }
header("X-Frame-Options: SAMEORIGIN"); header("X-Frame-Options: SAMEORIGIN");
require_once("authgui.inc");
/* parse the configuration and include all configuration functions */ /* parse the configuration and include all configuration functions */
require_once("functions.inc"); require_once("functions.inc");
...@@ -68,6 +66,8 @@ if($config['system']['language'] <> "") { ...@@ -68,6 +66,8 @@ if($config['system']['language'] <> "") {
set_language($g['language']); set_language($g['language']);
require_once("authgui.inc");
/* used by progress bar */ /* used by progress bar */
$lastseen = "-1"; $lastseen = "-1";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment