fixed a typo.

This commit is contained in:
qiang.xue
2011-03-28 11:45:19 +00:00
parent b5919b7f3b
commit 77094da2da
2 changed files with 2 additions and 2 deletions

View File

@@ -308,7 +308,7 @@ class CClientScript extends CApplicationComponent
{
$baseUrl=$package['baseUrl'];
if($baseUrl==='' || $baseUrl[0]!=='/')
$baseUrl=Yii::app()->getRequest()->getBaseUrl.'/'.$baseUrl;
$baseUrl=Yii::app()->getRequest()->getBaseUrl().'/'.$baseUrl;
$baseUrl=rtrim($baseUrl,'/');
}
else if(isset($package['basePath']))