10 lines
220 B
PHP
10 lines
220 B
PHP
<?php
|
|
$app = require("../app/inc.php");
|
|
|
|
$model = $app->model('Index');
|
|
|
|
$app->view('template/header', ["title" => "Forside"]);
|
|
$app->view('index', [
|
|
"data" => $model->getUsername()
|
|
]);
|
|
$app->view('template/footer'); |