Move session out of config
authorJoey Schulze <joey@infodrom.org>
Wed, 24 Feb 2010 16:25:39 +0000 (17:25 +0100)
committerJoey Schulze <joey@infodrom.org>
Wed, 24 Feb 2010 16:25:39 +0000 (17:25 +0100)
config.php.template
index.php

index eef52f7..8c90b4f 100644 (file)
@@ -1,12 +1,10 @@
 <?php
 
 <?php
 
-# Register session
-session_name('W8KLRSESSION');
-session_start();
-
 define('DBHOST', 'hostname');
 define('DBNAME', 'infodrom');
 define('DBUSER', 'username');
 define('DBPASS', 'password');
 
 define('DBHOST', 'hostname');
 define('DBNAME', 'infodrom');
 define('DBUSER', 'username');
 define('DBPASS', 'password');
 
+define('DEBUG', false);
+
 ?>
 ?>
index 8decdf6..b2aacb1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,4 +1,8 @@
 <?php
 <?php
+# Register session
+session_name('W8KLRSESSION');
+session_start();
+
 require_once('config.php');
 require_once('lib/general.php');
 require_once('lib/menu.php');
 require_once('config.php');
 require_once('lib/general.php');
 require_once('lib/menu.php');