diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-10-02 23:12:50 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-10-02 23:12:50 +0000 |
commit | 3c8309a7e621ede168cf7f6dfd8c8d55144525ea (patch) | |
tree | 8b13443d84b3eae9ddead399bea404a981b2bc60 /include/common.inc.php | |
parent | da836ea95fce9a8b5711366253832d298e3c4a6e (diff) |
- deletion of session_time and session_id_size as config parameter
- new feature : "remember me" creates a long time cookie
- possibility to set the default authentication method to URI or cookie
- really technical parameters (session identifier size, session duration)
are set in the config file and not in database + configuration.php
git-svn-id: http://piwigo.org/svn/trunk@541 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-rw-r--r-- | include/common.inc.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 6d4b37195..8853e67f1 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -167,9 +167,10 @@ $user_ip = encode_ip($client_ip); // Setup gallery wide options, if this fails then we output a CRITICAL_ERROR // since basic gallery information is not available // -$query = 'SELECT param,value'; -$query.= ' FROM '.CONFIG_TABLE; -$query.= ';'; +$query = ' +SELECT param,value + FROM '.CONFIG_TABLE.' +;'; if( !( $result = mysql_query( $query ) ) ) { die("Could not query config information"); |