mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Disable JS/CSS Cache in Menu-Manager.
This commit is contained in:
parent
ab9d056358
commit
e5e7a23810
@ -1454,7 +1454,7 @@ class e_jsmanager
|
||||
*/
|
||||
public function renderCached($type)
|
||||
{
|
||||
if($this->_cache_enabled != true || $this->isInAdmin())
|
||||
if($this->_cache_enabled != true || $this->isInAdmin() || deftrue('e_MENUMANAGER_ACTIVE'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -1731,7 +1731,7 @@ class e_jsmanager
|
||||
$text .= '</style>';
|
||||
$text .= "\n";
|
||||
|
||||
if($this->_cache_enabled != true || $this->isInAdmin())
|
||||
if($this->_cache_enabled != true || $this->isInAdmin() || deftrue('e_MENUMANAGER_ACTIVE'))
|
||||
{
|
||||
echo $text;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user