forked from Adleraci/adlerka.top
Fix
This commit is contained in:
parent
23b96a3942
commit
c4265543d4
@ -16,7 +16,7 @@ function initRouter(): array
|
||||
$routerRequest["site_name"] = $routerConfig["default_site"];
|
||||
$routerRequest["page_name"] = $routerConfig["default_page"];
|
||||
|
||||
if(count($request_uri > 2)){
|
||||
if(count($request_uri) > 2){
|
||||
$routerRequest["page_name"] = basename($request_uri[2]);
|
||||
}
|
||||
if(count($request_uri) > 1){
|
||||
|
Loading…
Reference in New Issue
Block a user