mirror of
https://github.com/e107inc/e107.git
synced 2025-04-15 10:02:02 +02:00
Sync with 1.0. Allow Main Admin to preview sitedown.php while logged in.
This commit is contained in:
parent
c93c1a6829
commit
dda1140bc1
@ -18,7 +18,7 @@
|
||||
*/
|
||||
require_once('class2.php');
|
||||
|
||||
if (!varset($pref['maintainance_flag']))
|
||||
if (!varset($pref['maintainance_flag']) && !getperms('0')) // Allow main admin to test and view template before going offline.
|
||||
{
|
||||
header('location: '.SITEURL);
|
||||
exit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user