diff options
author | emkael <emkael@tlen.pl> | 2016-04-25 12:17:09 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-04-25 12:17:09 +0200 |
commit | 37ceed32d8486c8e33cb6ce79ef6b7b4af03a64d (patch) | |
tree | 607f30c8dde5e6653dccecebfc9d8c1b8aeba103 /app | |
parent | 0dda5b8c12573779a1e2b7e820284dafe04956e3 (diff) |
* deriving BaseUrl from BasePath only if it's set
Diffstat (limited to 'app')
-rw-r--r-- | app/php/web/AssetManager.php | 2 |
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 . '$#', '', |