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

Experimental e_HTTP_STATIC definition added.

This commit is contained in:
Cameron
2017-04-27 17:47:57 -07:00
parent b532b43ce5
commit 33fa33781d

View File

@@ -1413,11 +1413,12 @@ class e_jsmanager
e_WEB_ABS e_WEB_ABS
); );
$http = deftrue('e_HTTP_STATIC', e_HTTP);
$repl = array( $repl = array(
e_HTTP.$base.$this->getCacheId().'/'.e107::getFolder('plugins'), $http.$base.$this->getCacheId().'/'.e107::getFolder('plugins'),
e_HTTP.$base.$this->getCacheId().'/'.e107::getFolder('themes'), $http.$base.$this->getCacheId().'/'.e107::getFolder('themes'),
e_HTTP.$base.$this->getCacheId().'/'.e107::getFolder('web') $http.$base.$this->getCacheId().'/'.e107::getFolder('web')
); );
$folder = str_replace($srch,$repl,$path); $folder = str_replace($srch,$repl,$path);