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:
parent
fb3a92ff9e
commit
a21cce9c4b
@ -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
|
||||
|
@ -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'))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user