remove debug prints
This commit is contained in:
parent
479e9a782d
commit
dd590ef492
@ -41,7 +41,6 @@ function generateNavigation(): string
|
|||||||
$navpages = "";
|
$navpages = "";
|
||||||
|
|
||||||
foreach ($pages_dir as $page_file) {
|
foreach ($pages_dir as $page_file) {
|
||||||
print_r($page_file);
|
|
||||||
$page_dir_tmp = explode(".", $page_file);
|
$page_dir_tmp = explode(".", $page_file);
|
||||||
$page_dir = $page_dir_tmp[0];
|
$page_dir = $page_dir_tmp[0];
|
||||||
$page_class = "class=\"navpage_link\"";
|
$page_class = "class=\"navpage_link\"";
|
||||||
@ -55,9 +54,6 @@ function generateNavigation(): string
|
|||||||
$page_name = explode(".", $page_name)[0];
|
$page_name = explode(".", $page_name)[0];
|
||||||
$page_name = ucfirst($page_name);
|
$page_name = ucfirst($page_name);
|
||||||
$page_file_path = $routerConfig["page_dir"] . $site_dir . "/" . $page_file ;
|
$page_file_path = $routerConfig["page_dir"] . $site_dir . "/" . $page_file ;
|
||||||
print_r($site_dir);
|
|
||||||
print_r($page_file_path);
|
|
||||||
print_r($page_dir_tmp);
|
|
||||||
if($page_dir_tmp[1] == "html"){
|
if($page_dir_tmp[1] == "html"){
|
||||||
$page_tmp = file_get_contents($page_file_path);
|
$page_tmp = file_get_contents($page_file_path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user