summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/TApplication.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php
index 681e8f3e..b94a4e53 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -298,7 +298,7 @@ class TApplication extends TComponent
if(is_file($this->_basePath))
{
$this->_configFile=$this->_basePath;
- $this->_basePath=dirname($this->_basepath);
+ $this->_basePath=dirname($this->_basePath);
}
else if(is_file($this->_basePath.'/'.self::CONFIG_FILE))
$this->_configFile=$this->_basePath.'/'.self::CONFIG_FILE;