Browse code

Session-Name aus einer Config-Variablen ziehen

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1831 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on06/10/2010 08:27:03
Showing2 changed files
... ...
@@ -19,6 +19,7 @@ $config['logging'] = LOG_ERR;
19 19
 
20 20
 $config['mime_type'] = 'application/xhtml+xml';
21 21
 
22
+$config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
22 23
 $config['theme'] = 'default';
23 24
 
24 25
 ini_set('error_reporting','On');
... ...
@@ -11,7 +11,7 @@ require_once('inc/debug.php');
11 11
 
12 12
 require_once('inc/base.php');
13 13
 
14
-session_name('CONFIG_SCHOKOKEKS_ORG');
14
+session_name(config('session_name'));
15 15
 
16 16
 if ($_SERVER['HTTPS']) session_set_cookie_params( 0, '/', '', true, true );
17 17