1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/controller] Move include to app.php

PHPBB3-10864
This commit is contained in:
David King
2012-11-15 14:48:45 -05:00
parent db1d49d559
commit 8e480a8725
2 changed files with 1 additions and 5 deletions

View File

@@ -69,12 +69,7 @@ class phpbb_event_kernel_request_subscriber implements EventSubscriberInterface
$context = new RequestContext();
$context->fromRequest($request);
if (!function_exists('phpbb_load_url_matcher'))
{
include($this->root_path . 'includes/functions_url_matcher' . $this->php_ext);
}
$matcher = phpbb_get_url_matcher($this->finder, $context, $this->root_path, $this->php_ext);
$router_listener = new RouterListener($matcher, $context);
$router_listener->onKernelRequest($event);
}