1
0
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:
Cameron 2017-04-17 16:16:29 -07:00
parent ab9d056358
commit e5e7a23810

View File

@ -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;
} }