aboutsummaryrefslogtreecommitdiffstats
path: root/include/constants.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-12-19 20:25:42 +0000
committerrvelices <rv-github@modusoptimus.com>2011-12-19 20:25:42 +0000
commitd70a18d52144b55949151cc3b9ccc99c3bac48a3 (patch)
tree3b444695dd58ff4b5b944b83ddcdb5f30cce589a /include/constants.php
parent4bbd5f66492997cc49276034949a5f984ef6351d (diff)
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
Diffstat (limited to '')
-rw-r--r--include/constants.php2
1 files changed, 1 insertions, 1 deletions
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'))