11 lines
205 B
PHP
11 lines
205 B
PHP
<?php
|
|
$app = require '../app/inc.php';
|
|
|
|
if (!$app->user->loggedIn)
|
|
{
|
|
$app->redirect('login.php');
|
|
}
|
|
|
|
$app->session->clear();
|
|
$app->session->flash('Du har blitt logget av');
|
|
$app->redirect("login.php"); |