Made input interface multilingual.

Set proper default for CSS file in password_protect.php.
This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2018-06-18 17:18:06 +02:00
1 parent 9158b2eec4
commit 0eab8391dd
9 files changed
+30 -28

No files matched your search

+4 -4
View File
@@ -12,10 +12,10 @@
require_once __DIR__ . "/inc/functions.php";
ensureEnvironment(); // Ensure existence of system files.
$translations = loadLanguage(); // Load translations.
ensureBackendEnv(); // Ensure session is started etc.
$pages = loadPages(); // Load overview of pages.
ensureEnvironment(); // Ensure existence of system files.
$translations = loadLanguage($settings['defaultLang']); // Load translations.
ensureBackendEnv(); // Ensure session is started etc.
$pages = loadPages(); // Load overview of pages.
if (!$_SESSION['admin']) {
echo printErrorPage($translations['accessDenied']); return;