Redirecting if URL resolves to landing page but /index.php is present
authorAlexander Ebert <ebert@woltlab.com>
Wed, 29 Jan 2014 12:12:41 +0000 (13:12 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 29 Jan 2014 12:12:41 +0000 (13:12 +0100)
wcfsetup/install/files/lib/system/request/RequestHandler.class.php

index d79684ef5870b4f07dfc0812ef777aade4051319..fa582c7246e7a5f17a30f5bc74c34e38bffcad75 100644 (file)
@@ -154,6 +154,10 @@ class RequestHandler extends SingletonFactory {
                                                                }
                                                        }
                                                }
+                                               
+                                               // redirect to landing page
+                                               HeaderUtil::redirect($redirectURL, true);
+                                               exit;
                                        }
                                }