mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-20 16:41:26 +02:00
[ticket/13372] Fix require_once CS
PHPBB3-13372
This commit is contained in:
@@ -255,7 +255,7 @@ class router implements RouterInterface
|
|||||||
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
|
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once $cache;
|
require_once($cache);
|
||||||
|
|
||||||
$this->matcher = new \phpbb_url_matcher($this->context);
|
$this->matcher = new \phpbb_url_matcher($this->context);
|
||||||
}
|
}
|
||||||
@@ -303,7 +303,7 @@ class router implements RouterInterface
|
|||||||
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
|
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once $cache;
|
require_once($cache);
|
||||||
|
|
||||||
$this->generator = new \phpbb_url_generator($this->context);
|
$this->generator = new \phpbb_url_generator($this->context);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user