fix wrong array
This commit is contained in:
parent
39dc3b72bb
commit
6c1f4b6a9d
@ -54,11 +54,11 @@ function getPage($page_name = null){
|
|||||||
$page_name = $routerRequest["page_name"];
|
$page_name = $routerRequest["page_name"];
|
||||||
}
|
}
|
||||||
|
|
||||||
$dynamic_page_file = $routerRequest["page_dir"] . $routerRequest["subdomain"] . "/" . $page_name . ".php";
|
$dynamic_page_file = $routerConfig["page_dir"] . $routerRequest["subdomain"] . "/" . $page_name . ".php";
|
||||||
$page_file = $routerRequest["page_dir"] . $routerRequest["subdomain"] . "/" . $page_name . ".html";
|
$page_file = $routerConfig["page_dir"] . $routerRequest["subdomain"] . "/" . $page_name . ".html";
|
||||||
|
|
||||||
$dynamic_page_file_global = $routerRequest["page_dir"] . "global/" . $page_name . ".php";
|
$dynamic_page_file_global = $routerConfig["page_dir"] . "global/" . $page_name . ".php";
|
||||||
$page_file_global = $routerRequest["page_dir"] . "global/" . $page_name . ".html";
|
$page_file_global = $routerConfig["page_dir"] . "global/" . $page_name . ".html";
|
||||||
|
|
||||||
$skeleton = file_get_contents($routerConfig["template_dir"] . "skeleton.html");
|
$skeleton = file_get_contents($routerConfig["template_dir"] . "skeleton.html");
|
||||||
$nav = file_get_contents($routerConfig["template_dir"] . "nav.html");
|
$nav = file_get_contents($routerConfig["template_dir"] . "nav.html");
|
||||||
|
Loading…
Reference in New Issue
Block a user