aboutsummaryrefslogtreecommitdiffstats
path: root/include/user.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-02-07 05:43:44 +0000
committerrvelices <rv-github@modusoptimus.com>2013-02-07 05:43:44 +0000
commitf66a624576e25d5b13514d3217691fb6657ec5f4 (patch)
treeba78329274ab5f7ac625b3053b44d69fca55a9fb /include/user.inc.php
parent7956ce1d42f1f7417cc7ccd1f08f434741faff0a (diff)
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
Diffstat (limited to 'include/user.inc.php')
-rw-r--r--include/user.inc.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/user.inc.php b/include/user.inc.php
index 69d6af692..60117e776 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -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'])
{