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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user