adjust session name, thanks to DrNI and kleinerChemiker
This commit is contained in:
@ -3,6 +3,10 @@
|
||||
Version 1.5 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Use a unique session name for each blog instance, so that multiple
|
||||
s9y installations can live on the same domain and having their
|
||||
own sessions (kleinerChemiker, DrNI)
|
||||
|
||||
* Livejournal importer update by Anson now supports importing
|
||||
comments, see http://board.s9y.org/viewtopic.php?f=11&t=15141
|
||||
|
||||
|
@ -9,6 +9,7 @@ if (defined('S9Y_FRAMEWORK')) {
|
||||
@define('S9Y_FRAMEWORK', true);
|
||||
|
||||
if (!headers_sent()) {
|
||||
session_name('s9y_' . md5(dirname(__FILE__)));
|
||||
session_start();
|
||||
|
||||
// Prevent session fixation by only allowing sessions that have been sent by the server.
|
||||
|
Reference in New Issue
Block a user