Auswahlcards erstellt
This commit is contained in:
14
php/index.php
Normal file
14
php/index.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?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");
|
||||
?>
|
Reference in New Issue
Block a user