From 9e17c72bc1c6f917f032b61a16907c81ac49f322 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 14 Feb 2006 02:48:11 +0000 Subject: Fixed a bug about base url calculation. --- framework/Web/UI/TAssetManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/TAssetManager.php') diff --git a/framework/Web/UI/TAssetManager.php b/framework/Web/UI/TAssetManager.php index d9a0bc4c..3e341a5e 100644 --- a/framework/Web/UI/TAssetManager.php +++ b/framework/Web/UI/TAssetManager.php @@ -85,7 +85,7 @@ class TAssetManager extends TModule if(!is_writable($this->_basePath) || !is_dir($this->_basePath)) throw new TConfigurationException('assetmanager_basepath_invalid',$this->_basePath); if($this->_baseUrl===null) - $this->_baseUrl=rtrim(dirname($application->getRequest()->getApplicationPath()),'/').'/'.self::DEFAULT_BASEPATH; + $this->_baseUrl=rtrim(dirname($application->getRequest()->getApplicationPath()),'/\\').'/'.self::DEFAULT_BASEPATH; $application->getService()->setAssetManager($this); $this->_initialized=true; } -- cgit v1.2.3