From 835e3f8c3a68b5a4577b0e1784f0e8eb1724a525 Mon Sep 17 00:00:00 2001 From: David Date: Sat, 8 Aug 2015 20:52:57 +0200 Subject: use Prado::using instead of class_alias to avoid double definition of same names --- framework/prado.php | 8 ++++---- 1 file 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'); -- cgit v1.2.3