From f3aa502157efa11ac3c76e8471d69d0ac9f69f1f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 10 Feb 2015 11:51:09 +0100 Subject: [PATCH] Overhauled WCF 2.1 route system --- com.woltlab.wcf/option.xml | 7 +- .../builder/ControllerCacheBuilder.class.php | 7 +- ...lControllerReplacementOptionType.class.php | 120 ++++++++ .../system/request/FlexibleRoute.class.php | 289 ++++++++++++++++++ .../files/lib/system/request/IRoute.class.php | 52 ++++ .../lib/system/request/LinkHandler.class.php | 6 +- .../system/request/RequestHandler.class.php | 66 +++- .../files/lib/system/request/Route.class.php | 27 +- .../lib/system/request/RouteHandler.class.php | 93 +++++- wcfsetup/install/lang/de.xml | 16 +- wcfsetup/install/lang/en.xml | 16 +- 11 files changed, 643 insertions(+), 56 deletions(-) create mode 100644 wcfsetup/install/files/lib/system/option/UrlControllerReplacementOptionType.class.php create mode 100644 wcfsetup/install/files/lib/system/request/FlexibleRoute.class.php create mode 100644 wcfsetup/install/files/lib/system/request/IRoute.class.php diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 6eb2698d87..6f8daebd22 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -430,16 +430,16 @@ general.page.seo boolean 0 + !url_controller_replacement -