mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Custom Framework URLs option
This commit is contained in:
@@ -225,6 +225,13 @@ class e_jsmanager
|
|||||||
// Try to auto-detect runtime location
|
// Try to auto-detect runtime location
|
||||||
$this->setInAdmin(defset('e_ADMIN_AREA', false));
|
$this->setInAdmin(defset('e_ADMIN_AREA', false));
|
||||||
|
|
||||||
|
$customJqueryUrls = e107::getPref('library-jquery-urls');
|
||||||
|
|
||||||
|
if(vartrue($customJqueryUrls) && $this->_in_admin === false)
|
||||||
|
{
|
||||||
|
$this->_libraries['jquery'] = explode("\n", $customJqueryUrls);
|
||||||
|
}
|
||||||
|
|
||||||
// Try to load browser cache id from core preferences
|
// Try to load browser cache id from core preferences
|
||||||
//$this->setCacheId(deftrue('e_NOCACHE') ? time() : e107::getPref('e_jslib_browser_cache'));
|
//$this->setCacheId(deftrue('e_NOCACHE') ? time() : e107::getPref('e_jslib_browser_cache'));
|
||||||
$this->setCacheId(e107::getPref('e_jslib_browser_cache'), 0);
|
$this->setCacheId(e107::getPref('e_jslib_browser_cache'), 0);
|
||||||
|
Reference in New Issue
Block a user