push current stand

This commit is contained in:
WummerMIB
2025-12-05 08:37:52 +01:00
parent 00bcb5afec
commit 075465e56b
7 changed files with 135 additions and 60 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
class Controller {
public function model($model) {
require_once "../model/" . $model . ".php";
return new $model();
}
public function view($view, $data = []) {
extract($data);
require_once "../view/" . $view . ".php";
}
}