From 60fc8c061adbad349c3a0a365f46b37ba8339cd2 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 17 Sep 2005 22:22:22 +0000 Subject: - improvement: add information about how to use an external table for users - bug fixed: uses user configuration fields for filtering in admin/user_list - bug fixed: don't try to create feeds automatically during sync_users (when line in user_infos is missing) - bug fixed: create_user_infos function gives status admin if user id matches $conf['webmaster_id'] git-svn-id: http://piwigo.org/svn/trunk@865 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/config_default.inc.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'include/config_default.inc.php') diff --git a/include/config_default.inc.php b/include/config_default.inc.php index dbd5beb51..8d4309dfc 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -297,8 +297,25 @@ $conf['debug_l10n'] = false; // users table ? $conf['apache_authentication'] = false; -// users_table : which table is the reference for users ? Can be a different +// users_table: which table is the reference for users? Can be a different // table than PhpWebGallery table +// +// If you decide to use another table than the default one, you need to +// prepare your database by deleting some datas : +// +// delete from phpwebgallery_user_access; +// delete from phpwebgallery_user_cache; +// delete from phpwebgallery_user_feed; +// delete from phpwebgallery_user_group; +// delete from phpwebgallery_user_infos; +// delete from phpwebgallery_sessions; +// delete from phpwebgallery_rate; +// update phpwebgallery_images set average_rate = NULL; +// delete from phpwebgallery_caddie; +// delete from phpwebgallery_favorites; +// +// All informations contained in these tables and column are related to +// phpwebgallery_users table. $conf['users_table'] = $prefixeTable.'users'; // user_fields : mapping between generic field names and table specific -- cgit v1.2.3