mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Custom Framework URLs option
This commit is contained in:
@@ -225,6 +225,13 @@ class e_jsmanager
|
||||
// Try to auto-detect runtime location
|
||||
$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
|
||||
//$this->setCacheId(deftrue('e_NOCACHE') ? time() : e107::getPref('e_jslib_browser_cache'));
|
||||
$this->setCacheId(e107::getPref('e_jslib_browser_cache'), 0);
|
||||
|
Reference in New Issue
Block a user