summaryrefslogtreecommitdiff
path: root/app/php/components/ClientScriptManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/components/ClientScriptManager.php')
-rw-r--r--app/php/components/ClientScriptManager.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/php/components/ClientScriptManager.php b/app/php/components/ClientScriptManager.php
index 8289c69..ce3446c 100644
--- a/app/php/components/ClientScriptManager.php
+++ b/app/php/components/ClientScriptManager.php
@@ -9,12 +9,7 @@ class ClientScriptManager extends TClientScriptManager {
}
private function _getBasePath() {
- $assetManager = $this->Application->AssetManager;
- return preg_replace(
- '#' . preg_quote($assetManager->BaseUrl) . '$#',
- '',
- $assetManager->BasePath
- );
+ return Prado::getPathOfNamespace('Web') . DIRECTORY_SEPARATOR;
}
private function _getBasePaths($urls) {