Revert "Core\Router: Fix for dynamic files in the forum root"

This reverts commit d4969ae009.
This commit is contained in:
Visman 2023-11-08 19:29:14 +07:00
parent d4969ae009
commit c648a52651

View file

@ -234,7 +234,7 @@ class Router
}
$pos = \strpos($uri, '/', 1);
$base = false === $pos ? '/' /* $uri */ : \substr($uri, 0, $pos);
$base = false === $pos ? $uri : \substr($uri, 0, $pos);
if (isset($this->dynamic[$base])) {
foreach ($this->dynamic[$base] as $pattern => $data) {