tidying up

This commit is contained in:
2019-09-23 14:12:52 +02:00
parent 0a9430490c
commit d07692af94
4 changed files with 3 additions and 38 deletions

View File

@@ -8,7 +8,7 @@ class MVCController{
private $timesOverridden = 0;
private static $mvcController;
public static $viewData = [];
function MVCController(){
function __construct(){
self::$mvcController = $this;
//prepare current view and view model
if(isset($_GET['p']) && $_GET['p'] != ''){