summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {