mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Issue #2579 - Make sure JS/CSS caching only happens on the front-end.
This commit is contained in:
@@ -1731,7 +1731,7 @@ class e_jsmanager
|
|||||||
$text .= '</style>';
|
$text .= '</style>';
|
||||||
$text .= "\n";
|
$text .= "\n";
|
||||||
|
|
||||||
if($this->_cache_enabled != true)
|
if($this->_cache_enabled != true || $this->isInAdmin())
|
||||||
{
|
{
|
||||||
echo $text;
|
echo $text;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user