From 6c1b05deafd9940da5d473800032558df90b118e Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 16 Nov 2005 22:32:52 +0000 Subject: Key modules are now using registered to application rather than using reserved module names. --- demos/personal/protected/Pages/LoginPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/personal/protected/Pages/LoginPage.php') diff --git a/demos/personal/protected/Pages/LoginPage.php b/demos/personal/protected/Pages/LoginPage.php index 3a3b8432..3b5cc3f9 100644 --- a/demos/personal/protected/Pages/LoginPage.php +++ b/demos/personal/protected/Pages/LoginPage.php @@ -4,7 +4,7 @@ class LoginPage extends TPage { public function login($sender,$param) { - $manager=$this->Application->AuthManager; + $manager=$this->Application->getModule('auth'); if($manager->login($this->username->Text,$this->password->Text)) $this->Application->Response->redirect($this->Application->Request->Items['ReturnUrl']); else -- cgit v1.2.3