Added checks for admin permissions to settings / users.
Added welcome message and start page contents in input interface (iss0000160).
This commit is contained in:
@ -115,7 +115,7 @@ function printPublicEnd():string {
|
||||
*/
|
||||
function printStaticPagePart(string $file, string $elem):string {
|
||||
|
||||
if (!in_array($file, ['footer', 'aside', 'banner'])) {
|
||||
if (!in_array($file, ['footer', 'aside', 'banner', 'welcomeMsg'])) {
|
||||
echo "Trying to access disallowed file.";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user