first commit

This commit is contained in:
aschwarz
2023-11-03 11:24:13 +01:00
commit fd10ee8d96
3674 changed files with 385385 additions and 0 deletions

15
php/login.php Normal file
View File

@ -0,0 +1,15 @@
<?php
## INDEX gegen DB
if(!isset($_SESSION)) { session_start(); }
require '../vendor/autoload.php';
use Smarty\Smarty;
$smarty = new Smarty();
$smarty->setTemplateDir('../html')
->setCompileDir('../smarty_tmp/templates_c')
->setCacheDir('../smarty_tmp/cache');
require_once("../config/datenbankanbindung.php");
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
$smarty->display("$templatename");
?>