summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
authorxue <>2007-03-06 13:42:50 +0000
committerxue <>2007-03-06 13:42:50 +0000
commit8746007d968660f93dac079477405ded6fa14cbe (patch)
treee475e8750d0edafd785bd4d32dc8648ffc437e57 /framework/PradoBase.php
parentb29a1544cac088cbdffa0b36f5d3bdebf1b18264 (diff)
Modified component inclusion method in bootstrap code.
Fixed a bug about using page configuration.
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index 7c38ce6c..aab9aac8 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -25,13 +25,6 @@ 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.
*
* PradoBase implements a few fundamental static methods.
@@ -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