From d70a18d52144b55949151cc3b9ccc99c3bac48a3 Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 19 Dec 2011 20:25:42 +0000 Subject: simplification of 'startup phase' - multisite.inc.php is not required anymore / database.inc.php is included after config. git-svn-id: http://piwigo.org/svn/trunk@12768 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/constants.php') diff --git a/include/constants.php b/include/constants.php index 6a7e4a7a4..cfc7e9c87 100644 --- a/include/constants.php +++ b/include/constants.php @@ -73,7 +73,7 @@ if (!defined('USER_ACCESS_TABLE')) if (!defined('USER_GROUP_TABLE')) define('USER_GROUP_TABLE', $prefixeTable.'user_group'); if (!defined('USERS_TABLE')) - define('USERS_TABLE', $conf['users_table']); + define('USERS_TABLE', isset($conf['users_table']) ? $conf['users_table'] : $prefixeTable.'users' ); if (!defined('USER_INFOS_TABLE')) define('USER_INFOS_TABLE', $prefixeTable.'user_infos'); if (!defined('USER_FEED_TABLE')) -- cgit v1.2.3