mirror of
https://github.com/e107inc/e107.git
synced 2025-07-18 13:31:26 +02:00
Sync with 1.0. Allow Main Admin to preview sitedown.php while logged in.
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
require_once('class2.php');
|
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);
|
header('location: '.SITEURL);
|
||||||
exit();
|
exit();
|
||||||
|
Reference in New Issue
Block a user