Add framework for setting variables from frontend stored in the session
[misc/kostenrechnung] / index.php
index b2aacb1..b4bcc02 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,10 +1,5 @@
 <?php
-# Register session
-session_name('W8KLRSESSION');
-session_start();
-
-require_once('config.php');
-require_once('lib/general.php');
+require_once('init.php');
 require_once('lib/menu.php');
 
 $jsfiles = array('lib/json_parse.js');
@@ -19,9 +14,11 @@ $debug = debug_info();
 <head>
 <title>Kostenleistungsrechnung</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta http-equiv="refresh" content="14400; URL=./?logout=true ">
 <?=load_js($jsfiles, $jscode);?>
 <link href="stylesheet.css" rel="stylesheet" type="text/css">
 <link href="style.css" rel="stylesheet" type="text/css">
+<link href="dropdown.css" rel="stylesheet" type="text/css">
 </head>
 <body>
 <div id="header">