mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
start the php session before loading plugins in a standard manner (related to bug 2835: )
git-svn-id: http://piwigo.org/svn/trunk@20599 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
7956ce1d42
commit
f66a624576
3 files changed
+1
-18
No files matched your search
@@ -26,10 +26,6 @@ $user['id'] = $conf['guest_id'];
|
||||
|
||||
if (isset($_COOKIE[session_name()]))
|
||||
{
|
||||
if (session_id() == '')
|
||||
{
|
||||
session_start();
|
||||
}
|
||||
if (isset($_GET['act']) and $_GET['act'] == 'logout')
|
||||
{ // logout
|
||||
logout_user();
|
||||
@@ -47,11 +43,6 @@ if ( $user['id']==$conf['guest_id'] )
|
||||
auto_login();
|
||||
}
|
||||
|
||||
if (session_id()=="")
|
||||
{
|
||||
session_start();
|
||||
}
|
||||
|
||||
// using Apache authentication override the above user search
|
||||
if ($conf['apache_authentication'])
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user