diff --git a/core.php b/core.php index 52b21c4..5f69ab2 100644 --- a/core.php +++ b/core.php @@ -136,7 +136,7 @@ if(makepathsafe($_GET["page"]) !== $_GET["page"]) //////////////////////////////////////////////////////////////////////////////////////////// function renderpage($title, $content, $minimal = false) { - global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex; + global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admins, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex; $html = " @@ -208,6 +208,7 @@ function renderpage($title, $content, $minimal = false)
\n"; diff --git a/index.php b/index.php index 18d4c3f..a305f3e 100755 --- a/index.php +++ b/index.php @@ -246,7 +246,7 @@ if(makepathsafe($_GET["page"]) !== $_GET["page"]) //////////////////////////////////////////////////////////////////////////////////////////// function renderpage($title, $content, $minimal = false) { - global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex; + global $sitename, $css, $favicon, $user, $isloggedin, $isadmin, $admins, $admindisplaychar, $navlinks, $admindetails, $start_time, $pageindex; $html = " @@ -318,6 +318,7 @@ function renderpage($title, $content, $minimal = false)
\n";