summaryrefslogtreecommitdiff
path: root/framework/TApplicationComponent.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/TApplicationComponent.php')
-rw-r--r--framework/TApplicationComponent.php2
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);
}