Updated comments and variable defs
This commit is contained in:
parent
be9e69c71c
commit
2f04de5692
@ -19,14 +19,10 @@ include_once("./controller/ActionHandler.php");
|
|||||||
session_start();
|
session_start();
|
||||||
//Execute Actie zo nodig.
|
//Execute Actie zo nodig.
|
||||||
ActionHandler::doAction();
|
ActionHandler::doAction();
|
||||||
|
//Store de geselecteerde model in variabele $model
|
||||||
|
$model=HUtils::getPage(HUtils::FETCHPOST);
|
||||||
|
|
||||||
//Store de geselecteerde pagina in variabele $page
|
|
||||||
$page=HUtils::getPage(HUtils::FETCHPOST);
|
|
||||||
|
|
||||||
//Model side operaties die afgerond moeten worden voor de paginacontent in wordt geladen
|
//Model side operaties die afgerond moeten worden voor de paginacontent in wordt geladen
|
||||||
$path = "./model/model_".$page.".php";
|
$model = "./model/model_".$model.".php";
|
||||||
if($page != ""){
|
if($page != ""){
|
||||||
if(file_exists($path)){
|
if(file_exists($path)){
|
||||||
include_once($path);
|
include_once($path);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user