summaryrefslogtreecommitdiff
path: root/framework/TApplication.php
diff options
context:
space:
mode:
authorxue <>2006-02-17 05:19:25 +0000
committerxue <>2006-02-17 05:19:25 +0000
commit7b38480de52c1d042ea542e2d06913a8c9b645fc (patch)
tree67ff025fb171a5325ac8fdc75a281ce8a19a2bd5 /framework/TApplication.php
parentae1c1995b2fec431afe7cca23b2697e1bef17baf (diff)
Add TApplicationComponent class and adjusted the relevant classes.
Diffstat (limited to 'framework/TApplication.php')
-rw-r--r--framework/TApplication.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php
index 8cc1e9f9..b61fa30d 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -289,6 +289,8 @@ class TApplication extends TComponent
*/
public function __construct($basePath='protected',$cacheConfig=true)
{
+ parent::__construct();
+
// register application as a singleton
Prado::setApplication($this);