diff options
author | xue <> | 2007-08-06 18:58:55 +0000 |
---|---|---|
committer | xue <> | 2007-08-06 18:58:55 +0000 |
commit | edfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 (patch) | |
tree | 9a39721593e768419fb58c8b21e88ff4748bb0ae /framework/TApplicationComponent.php | |
parent | 1031b56f982f973f85cb3e1528f7bcbba662778f (diff) |
fixed #685
Diffstat (limited to 'framework/TApplicationComponent.php')
-rw-r--r-- | framework/TApplicationComponent.php | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|