1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Make sure the wysiwyg parser still functions when maintenance is on.

This commit is contained in:
Cameron 2016-04-02 16:44:55 -07:00
parent fb3a92ff9e
commit a21cce9c4b
2 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,13 @@ class redirection
// Remove from self_exceptions: SITEURL, SITEURL.'index.php', // allows a custom frontpage to be viewed while logged out and membersonly active.
}
function getSelfExceptions()
{
return $this->self_exceptions;
}
/**
* FIXME - build self_exceptions dynamically - use URL assembling to match the proper URLs later

View File

@ -17,6 +17,7 @@ if(empty($_POST['content']) && empty($_GET['debug']) && !defined('TINYMCE_DEBUG'
$_E107['no_online'] = true;
$_E107['no_menus'] = true;
$_E107['no_forceuserupdate'] = true;
$_E107['no_maintenance'] = true;
if(!defined('TINYMCE_DEBUG'))
{