summaryrefslogtreecommitdiff
path: root/framework/TApplicationComponent.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/TApplicationComponent.php')
-rw-r--r--framework/TApplicationComponent.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/TApplicationComponent.php b/framework/TApplicationComponent.php
index da976549..855261a5 100644
--- a/framework/TApplicationComponent.php
+++ b/framework/TApplicationComponent.php
@@ -32,7 +32,7 @@ namespace Prado;
* @package Prado
* @since 3.0
*/
-class TApplicationComponent extends TComponent
+class TApplicationComponent extends \Prado\TComponent
{
/**
* @return TApplication current application instance
@@ -100,7 +100,7 @@ class TApplicationComponent extends TComponent
{
if($className===null)
$className=get_class($this);
- $class=new ReflectionClass($className);
+ $class=new \ReflectionClass($className);
$fullPath=dirname($class->getFileName()).DIRECTORY_SEPARATOR.$assetPath;
return $this->publishFilePath($fullPath);
}