From 175e9a110d89f452f39210d4536622afeddebe44 Mon Sep 17 00:00:00 2001 From: nikrou Date: Wed, 9 Jun 2010 20:25:03 +0000 Subject: Fix bug 1722 : PosgtreSQL wants all fields in select to be in Group by clause or agregate function Fix issue for lambda function (incorrect number of params) git-svn-id: http://piwigo.org/svn/trunk@6510 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/config_default.inc.php | 4 ++++ include/dblayer/functions_pgsql.inc.php | 8 ++++---- include/functions_user.inc.php | 30 ++++++++++++++++++++++-------- 3 files changed, 30 insertions(+), 12 deletions(-) (limited to 'include') diff --git a/include/config_default.inc.php b/include/config_default.inc.php index f57407945..e0d7b2318 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -514,6 +514,10 @@ $conf['apache_authentication'] = false; // piwigo_users table. $conf['users_table'] = $prefixeTable.'users'; +// If you decide to use external authentication +// change conf below by $conf['external_authentification'] = true; +$conf['external_authentification'] = false; + // Other tables can be changed, if you define associated constants // Example: // define('USER_INFOS_TABLE', 'pwg_main'.'user_infos'); diff --git a/include/dblayer/functions_pgsql.inc.php b/include/dblayer/functions_pgsql.inc.php index 38fcc2ed9..6492e82ef 100644 --- a/include/dblayer/functions_pgsql.inc.php +++ b/include/dblayer/functions_pgsql.inc.php @@ -314,7 +314,7 @@ UPDATE '.$tablename.' pwg_query($query); } } // foreach update - } // if mysql_ver or count