1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

When static URL is not in use, use absolute URL for js/css cached image paths etc.

This commit is contained in:
Cameron
2020-12-03 11:44:59 -08:00
parent 3a78603ebd
commit 066104f4c3
2 changed files with 4 additions and 3 deletions

View File

@@ -1678,7 +1678,7 @@ class e_jsmanager
continue;
}
$http = $tp->staticUrl(null, array('full'=>1)); // returns SITEURL or Static URL if enabled.
$http = $tp->staticUrl(null); // returns SITEURL or Static URL if enabled. array('full'=>1) removed.
$path = $this->normalizePath($basePath.$v);
$dir = "url(".$http.$path.")";