mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Make sure the wysiwyg parser still functions when maintenance is on.
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
|
||||
function getSelfExceptions()
|
||||
{
|
||||
return $this->self_exceptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
@@ -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'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user