From edfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 6 Aug 2007 18:58:55 +0000 Subject: fixed #685 --- framework/TApplicationComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/TApplicationComponent.php') diff --git a/framework/TApplicationComponent.php b/framework/TApplicationComponent.php index f5d532d2..9ca4ff36 100644 --- a/framework/TApplicationComponent.php +++ b/framework/TApplicationComponent.php @@ -101,7 +101,7 @@ class TApplicationComponent extends TComponent if($className===null) $className=get_class($this); $class=new ReflectionClass($className); - $fullPath=dirname($class->getFileName()).'/'.$assetPath; + $fullPath=dirname($class->getFileName()).DIRECTORY_SEPARATOR.$assetPath; return $this->publishFilePath($fullPath); } -- cgit v1.2.3