diff --git a/modules/cms/classes/CombineAssets.php b/modules/cms/classes/CombineAssets.php index b34fdfb11..f1e41418d 100644 --- a/modules/cms/classes/CombineAssets.php +++ b/modules/cms/classes/CombineAssets.php @@ -260,8 +260,10 @@ class CombineAssets */ protected function getTargetPath($path = null) { - if ($path === null) - $path = Request::getBaseUrl().'/combine'; + if ($path === null) { + $baseUri = substr(Request::getBaseUrl(), strlen(Request::getBasePath())); + $path = $baseUri.'/combine'; + } if (strpos($path, '/') === 0) $path = substr($path, 1);