mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 17:39:46 +01:00
Make sure the wysiwyg parser still functions when maintenance is on.
This commit is contained in:
parent
fb3a92ff9e
commit
a21cce9c4b
@ -57,6 +57,13 @@ class redirection
|
|||||||
// Remove from self_exceptions: SITEURL, SITEURL.'index.php', // allows a custom frontpage to be viewed while logged out and membersonly active.
|
// 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
|
* FIXME - build self_exceptions dynamically - use URL assembling to match the proper URLs later
|
||||||
* Store the current URL in a cookie for 5 minutes so we can return to it after being logged out.
|
* Store the current URL in a cookie for 5 minutes so we can return to it after being logged out.
|
||||||
|
@ -17,6 +17,7 @@ if(empty($_POST['content']) && empty($_GET['debug']) && !defined('TINYMCE_DEBUG'
|
|||||||
$_E107['no_online'] = true;
|
$_E107['no_online'] = true;
|
||||||
$_E107['no_menus'] = true;
|
$_E107['no_menus'] = true;
|
||||||
$_E107['no_forceuserupdate'] = true;
|
$_E107['no_forceuserupdate'] = true;
|
||||||
|
$_E107['no_maintenance'] = true;
|
||||||
|
|
||||||
if(!defined('TINYMCE_DEBUG'))
|
if(!defined('TINYMCE_DEBUG'))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user