page: save granted access for admin options
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 16 Sep 2017 16:08:39 +0000 (18:08 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 18 Sep 2017 18:21:28 +0000 (20:21 +0200)
Page code will want to show encountered restrictions.

page.php

index 5efccbcd06b92d9cad6a80fad6ab996b10d7d7f3..4120a01bd05b4d0a476fe88c5eebbecc51327e90 100644 (file)
--- a/page.php
+++ b/page.php
@@ -68,6 +68,7 @@ while (TRUE) {
                        @require_once './403.html';
                        exit;
                }
+               $PageAccess = $Page;
        }
 
        if (file_exists("$Page.php")) {