Made input interface multilingual.

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

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;