Added checks for admin permissions to settings / users.

Added welcome message and start page contents in input interface (iss0000160).
This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2018-06-18 15:07:38 +02:00
1 parent 067beedf29
commit c6f481ffcb
8 files changed
+65 -4

No files matched your search

+4
View File
@@ -17,6 +17,10 @@ $translations = loadLanguage(); // Load translations.
ensureBackendEnv(); // Ensure session is started etc.
$pages = loadPages(); // Load overview of pages.
if (!$_SESSION['admin']) {
echo printErrorPage($translations['accessDenied']); return;
}
/*
* Load data.
*/