general fixes and changes

This commit is contained in:
2019-06-15 19:19:09 +02:00
parent 2f04de5692
commit 08693663f8
7 changed files with 24 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ ActionHandler::doAction();
//Store de geselecteerde model in variabele $model
$model=HUtils::getPage(HUtils::FETCHPOST);
//Model side operaties die afgerond moeten worden voor de paginacontent in wordt geladen
$model = "./model/model_".$model.".php";
if($page != ""){
$path = "./model/model_".$model.".php";
if($model != ""){
if(file_exists($path)){
include_once($path);
}