summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-08 20:52:57 +0200
committerDavid <ottodavid@gmx.net>2015-08-08 21:11:10 +0200
commit835e3f8c3a68b5a4577b0e1784f0e8eb1724a525 (patch)
tree9fc437d71a3d87c5c31c7b446c2316be9103fdd8
parent0093239f4e5d221c6c74cfc415877c951e7687b5 (diff)
use Prado::using instead of class_alias to avoid double definition of same names
-rw-r--r--framework/prado.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/prado.php b/framework/prado.php
index 07f1b825..ebb2eb76 100644
--- a/framework/prado.php
+++ b/framework/prado.php
@@ -46,7 +46,7 @@ Prado::init();
*/
class_alias('\Prado\Prado', 'Prado', true);
-class_alias('\Prado\TApplication', 'TApplication', true);
-class_alias('\Prado\TModule', 'TModule', true);
-class_alias('\Prado\Web\Services\TPageService', 'TPageService', true);
-class_alias('\Prado\Web\UI\TPage', 'TPage', true);
+Prado::using('Prado\TApplication');
+Prado::using('Prado\TModule');
+Prado::using('Prado\Web\Services\TPageService');
+Prado::using('Prado\Web\UI\TPage');