Skip to content

Commit

Permalink
Fixed logic in Session class, which was faulty and caused regular log…
Browse files Browse the repository at this point in the history
…out. [Closes Issue #385]
  • Loading branch information
Alistair committed Aug 13, 2010
1 parent 0d84022 commit 080a651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symphony/lib/core/class.session.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function start($lifetime = 0, $path = '/', $domain = NULL, $httpOn
self::$_cache->write('_session_config', true);
}

if (session_id() != "") {
if (session_id() == '') {
ini_set('session.save_handler', 'user');
ini_set('session.gc_maxlifetime', $lifetime);
ini_set('session.gc_probability', '1');
Expand Down

0 comments on commit 080a651

Please sign in to comment.