summaryrefslogtreecommitdiff
path: root/app/php/web/AssetManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/web/AssetManager.php')
-rw-r--r--app/php/web/AssetManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/php/web/AssetManager.php b/app/php/web/AssetManager.php
index 1094917..72d8ef1 100644
--- a/app/php/web/AssetManager.php
+++ b/app/php/web/AssetManager.php
@@ -3,7 +3,7 @@
class AssetManager extends TAssetManager {
public function init($config) {
- if ($this->BaseUrl === NULL) {
+ if ($this->BaseUrl === NULL && $this->BasePath !== NULL) {
$appWebPath = preg_replace(
'#' . $this->Application->Request->ApplicationUrl . '$#',
'',