mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +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)
|
public function renderCached($type)
|
||||||
{
|
{
|
||||||
if($this->_cache_enabled != true || $this->isInAdmin())
|
if($this->_cache_enabled != true || $this->isInAdmin() || deftrue('e_MENUMANAGER_ACTIVE'))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1731,7 +1731,7 @@ class e_jsmanager
|
|||||||
$text .= '</style>';
|
$text .= '</style>';
|
||||||
$text .= "\n";
|
$text .= "\n";
|
||||||
|
|
||||||
if($this->_cache_enabled != true || $this->isInAdmin())
|
if($this->_cache_enabled != true || $this->isInAdmin() || deftrue('e_MENUMANAGER_ACTIVE'))
|
||||||
{
|
{
|
||||||
echo $text;
|
echo $text;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user