login/php/index.php
2023-11-07 09:29:22 +01:00

15 lines
398 B
PHP

<?php
## INDEX gegen DB
if(!isset($_SESSION)) { session_start(); }
include_once '../config/smarty.php';
$smarty = new SmartyAdmin();
require_once("../config/datenbankanbindung.php");
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
$smarty->assign('hs', $_SESSION['global_hs']);
$smarty->assign('stg', $_SESSION['global_stg']);
$smarty->display("$templatename");
?>