aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/routing
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/routing')
-rw-r--r--phpBB/phpbb/routing/router.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/routing/router.php b/phpBB/phpbb/routing/router.php
index 5313106b0a..7444f06253 100644
--- a/phpBB/phpbb/routing/router.php
+++ b/phpBB/phpbb/routing/router.php
@@ -262,7 +262,7 @@ class router implements RouterInterface
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
}
- require_once($cache);
+ require_once($cache->getPath());
$this->matcher = new \phpbb_url_matcher($this->context);
}
@@ -310,7 +310,7 @@ class router implements RouterInterface
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
}
- require_once($cache);
+ require_once($cache->getPath());
$this->generator = new \phpbb_url_generator($this->context);
}