Made input interface multilingual.
Set proper default for CSS file in password_protect.php.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user