mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
bug:2835
ability detect mobile theme earlier, before plugin load git-svn-id: http://piwigo.org/svn/trunk@20543 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -26,7 +26,10 @@ $user['id'] = $conf['guest_id'];
|
||||
|
||||
if (isset($_COOKIE[session_name()]))
|
||||
{
|
||||
session_start();
|
||||
if (session_id() == '')
|
||||
{
|
||||
session_start();
|
||||
}
|
||||
if (isset($_GET['act']) and $_GET['act'] == 'logout')
|
||||
{ // logout
|
||||
logout_user();
|
||||
|
||||
Reference in New Issue
Block a user