This commit is contained in:
2019-04-24 11:06:08 +02:00
parent 57691246ed
commit 0ab34603d0
15 changed files with 140 additions and 20 deletions

View File

@@ -18,10 +18,9 @@
<main>
<?php
//Store de geselecteerde pagina in variabele $page
$page=HUtils::getPage();
$page=HUtils::getPage(HUtils::FETCHGET);
//Laad de juiste view
$path = "./view/pagecontent/content_".$page.".php";
if($page != ""){
if(file_exists($path)){
include_once($path);