1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

improved browser cache control, clear browser cache added to cache administration

This commit is contained in:
secretr
2010-12-17 17:21:48 +00:00
parent eb057e6492
commit f3ab862313
5 changed files with 23 additions and 4 deletions

View File

@@ -174,7 +174,7 @@ class e_jsmanager
$this->setInAdmin(defset('e_ADMIN_AREA', false));
// Try to load browser cache id from core preferences
$this->setCacheId(e107::getPref('e_jslib_browser_cache', 0));
$this->setCacheId(deftrue('e_NOCACHE') ? time() : e107::getPref('e_jslib_browser_cache'));
// Load stored in preferences core lib paths ASAP - FIXME - find better way to store libs - array structure and separate table row
$core_libs = e107::getPref('e_jslib_core');