From 8746007d968660f93dac079477405ded6fa14cbe Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 6 Mar 2007 13:42:50 +0000 Subject: Modified component inclusion method in bootstrap code. Fixed a bug about using page configuration. --- framework/PradoBase.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'framework/PradoBase.php') diff --git a/framework/PradoBase.php b/framework/PradoBase.php index 7c38ce6c..aab9aac8 100644 --- a/framework/PradoBase.php +++ b/framework/PradoBase.php @@ -24,13 +24,6 @@ if(!defined('PRADO_DIR')) if(!defined('PRADO_CHMOD')) define('PRADO_CHMOD',0777); -/** - * Includes the classes essential for PradoBase class - */ -require_once(PRADO_DIR.'/TComponent.php'); -require_once(PRADO_DIR.'/Exceptions/TException.php'); -require_once(PRADO_DIR.'/Util/TLogger.php'); - /** * PradoBase class. * @@ -601,4 +594,11 @@ class TReflectionClass extends ReflectionClass { } -?> +/** + * Includes the classes essential for PradoBase class + */ +PradoBase::using('System.TComponent'); +PradoBase::using('System.Exceptions.TException'); +PradoBase::using('System.Util.TLogger'); + +?> \ No newline at end of file -- cgit v1.2.3