Method redirectToConfiguredUrl() does now append the suffix '_url' to all config...
authorRoland Häder <roland@mxchange.org>
Sun, 21 Dec 2008 04:22:53 +0000 (04:22 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 21 Dec 2008 04:22:53 +0000 (04:22 +0000)
inc/classes/main/actions/post_registration/class_LoginAfterRegistrationAction.php
inc/classes/main/commands/web/class_WebLogoutCommand.php
inc/classes/main/controller/form/class_WebDoFormController.php
inc/classes/main/controller/login/class_WebLoginAreaController.php
inc/classes/main/filter/verifier/class_ConfirmCodeVerifierFilter.php
inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php
inc/classes/main/filter/verifier/class_UserUnconfirmedVerifierFilter.php
inc/classes/main/response/http/class_HttpResponse.php
inc/classes/main/response/image/class_ImageResponse.php

index 15fd499..d10f2a6 100644 (file)
@@ -64,7 +64,7 @@ class LoginAfterRegistrationAction extends BaseAction implements PerformableActi
                        // Try to redirect here
                        try {
                                // Redirect...
-                               $responseInstance->redirectToConfiguredUrl('app_login_url');
+                               $responseInstance->redirectToConfiguredUrl('app_login');
 
                                // Stop here
                                exit();
index 91a9d51..d82dec0 100644 (file)
@@ -67,7 +67,7 @@ class WebLogoutCommand extends BaseCommand implements Commandable {
                $authInstance->destroyAuthData();
 
                // Redirect to "logout done" page
-               $responseInstance->redirectToConfiguredUrl('logout_done_url');
+               $responseInstance->redirectToConfiguredUrl('logout_done');
 
                // Exit here
                exit();
index 8691c3d..ed67dba 100644 (file)
@@ -75,7 +75,7 @@ class WebDoFormController extends BaseController implements Controller {
                        $this->executePreFilters($requestInstance, $responseInstance);
                } catch (UserAuthorizationException $e) {
                        // Redirect to main page
-                       $responseInstance->redirectToConfiguredUrl('login_failed_url');
+                       $responseInstance->redirectToConfiguredUrl('login_failed');
 
                        // Exit here
                        exit();
index 75690eb..d2eb190 100644 (file)
@@ -82,7 +82,7 @@ class WebLoginAreaController extends BaseController implements Controller {
                        $this->executePreFilters($requestInstance, $responseInstance);
                } catch (UserAuthorizationException $e) {
                        // Redirect to main page
-                       $responseInstance->redirectToConfiguredUrl('login_failed_url');
+                       $responseInstance->redirectToConfiguredUrl('login_failed');
 
                        // Exit here
                        exit();
index e4620cb..0c67b76 100644 (file)
@@ -96,7 +96,7 @@ class ConfirmCodeVerifierFilter extends BaseFilter implements Filterable {
                        $requestInstance->requestIsValid(false);
 
                        // Redirect to error page
-                       $responseInstance->redirectToConfiguredUrl('confirm_code_invalid_url');
+                       $responseInstance->redirectToConfiguredUrl('confirm_code_invalid');
 
                        // Stop processing here
                        exit();
index e0c3499..d994de3 100644 (file)
@@ -62,7 +62,7 @@ class UserStatusVerifierFilter extends BaseFilter implements Filterable {
                        $requestInstance->requestIsValid(false);
 
                        // Redirect to configured URL
-                       $responseInstance->redirectToConfiguredUrl('login_user_status_url');
+                       $responseInstance->redirectToConfiguredUrl('login_user_status');
 
                        // Stop processing here
                        exit();
index 7df7795..ff103aa 100644 (file)
@@ -65,7 +65,7 @@ class UserUnconfirmedVerifierFilter extends BaseFilter implements Filterable {
                        $requestInstance->requestIsValid(false);
 
                        // Redirect to configured URL
-                       $responseInstance->redirectToConfiguredUrl('user_unconfirmed_email_missing_url');
+                       $responseInstance->redirectToConfiguredUrl('user_unconfirmed_email_missing');
 
                        // Stop processing here
                        exit();
@@ -77,7 +77,7 @@ class UserUnconfirmedVerifierFilter extends BaseFilter implements Filterable {
                        $requestInstance->requestIsValid(false);
 
                        // Redirect to configured URL
-                       $responseInstance->redirectToConfiguredUrl('user_not_unconfirmed_url');
+                       $responseInstance->redirectToConfiguredUrl('user_not_unconfirmed');
 
                        // Stop processing here
                        exit();
index 50bf2de..c553263 100644 (file)
@@ -135,7 +135,7 @@ class HttpResponse extends BaseResponse implements Responseable {
                $this->getTemplateInstance()->assignApplicationData($this->getApplicationInstance());
 
                // Get the url from config
-               $url = $this->getConfigInstance()->readConfig($configEntry);
+               $url = $this->getConfigInstance()->readConfig($configEntry . "_url");
 
                // Compile the URL
                $url = $this->getTemplateInstance()->compileRawCode($url);
index c03e6ea..10fb811 100644 (file)
@@ -149,7 +149,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                $this->getTemplateInstance()->assignApplicationData($this->getApplicationInstance());
 
                // Get the url from config
-               $url = $this->getConfigInstance()->readConfig($configEntry);
+               $url = $this->getConfigInstance()->readConfig($configEntry . "_url");
 
                // Compile the URL
                $url = $this->getTemplateInstance()->compileRawCode($url);