Skip to content

Commit

Permalink
Don't change the default session_handler if it is allready set Ref: #…
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Nov 19, 2014
1 parent 21c7068 commit 615afb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/joomla/session/storage/none.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class JSessionStorageNone extends JSessionStorage
*/
public function register()
{
ini_set('session.save_handler', 'files');
// Set session.handler to file if nothing else is set
if (empty(ini_get('session.save_handler')))
{
ini_set('session.save_handler', 'files');
}
}
}

0 comments on commit 615afb3

Please sign in to comment.