diff --git a/app/core/ApiController.php b/app/core/ApiController.php deleted file mode 100644 index f96aebb..0000000 --- a/app/core/ApiController.php +++ /dev/null @@ -1,7 +0,0 @@ -config = $config; + } + public function model(string $model): object { // Require model file diff --git a/app/core/Flash.php b/app/core/Flash.php deleted file mode 100644 index 81ab7dd..0000000 --- a/app/core/Flash.php +++ /dev/null @@ -1,9 +0,0 @@ -view('template/header', ['title' => $title]); ?> -
Ting fungerer noen ganger.
-=$data?>
- -view('template/footer'); ?> \ No newline at end of file +=$data?>
\ No newline at end of file diff --git a/app/view/login.php b/app/view/login.php index 82db8cb..9a7f1ea 100644 --- a/app/view/login.php +++ b/app/view/login.php @@ -1,5 +1,3 @@ -view('template/header', ['title' => $title]); ?> -Fyll inn påloggingsinformasjonen din.
- -view('template/footer'); ?> \ No newline at end of file + \ No newline at end of file diff --git a/app/view/template/header.php b/app/view/template/header.php index 978348f..1bc287b 100644 --- a/app/view/template/header.php +++ b/app/view/template/header.php @@ -6,7 +6,7 @@