Files
WKVS/www/intern/wk-leitung/index.php
2026-04-12 21:25:44 +02:00

22 lines
400 B
PHP

<?php
if (session_status() !== PHP_SESSION_ACTIVE) session_start();
$baseDir = $_SERVER['DOCUMENT_ROOT'];
$access_granted_wkl = $_SESSION['access_granted_wk_leitung'] ?? false;
if ( ! $access_granted_wkl ) :
$logintype = 'wk_leitung';
require $baseDir . '/../scripts/login/login.php';
$logintype = '';
else :
header("Location: /intern/wk-leitung/rechnungen");
exit;
endif;