aboutsummaryrefslogtreecommitdiffstats
path: root/include/constants.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-01-08 23:32:25 +0000
committerplegall <plg@piwigo.org>2005-01-08 23:32:25 +0000
commit34354aa6a950ee92a1b7b3928bcfa766065dfef9 (patch)
treeaf0658ec0bf203af33f63ed516b9bef4c09dc68f /include/constants.php
parent971d0c5a9593d2a8d8ad0eff70c9dba1ca06a606 (diff)
- replacement of variable names in include/mysql.inc.php (for upgrades) :
dbname => cfgBase dbuser => cfgUser dbpasswd => cfgPassword dbhost => cfgHote table_prefix => prefixeTable git-svn-id: http://piwigo.org/svn/trunk@681 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/constants.php36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/constants.php b/include/constants.php
index 449401a7d..1b450f65e 100644
--- a/include/constants.php
+++ b/include/constants.php
@@ -40,22 +40,22 @@ define('CRITICAL_MESSAGE', 203);
define('CRITICAL_ERROR', 204);
// Table names
-define('CATEGORIES_TABLE', $table_prefix.'categories');
-define('COMMENTS_TABLE', $table_prefix.'comments');
-define('CONFIG_TABLE', $table_prefix.'config');
-define('FAVORITES_TABLE', $table_prefix.'favorites');
-define('GROUP_ACCESS_TABLE', $table_prefix.'group_access');
-define('GROUPS_TABLE', $table_prefix.'groups');
-define('HISTORY_TABLE', $table_prefix.'history');
-define('IMAGE_CATEGORY_TABLE', $table_prefix.'image_category');
-define('IMAGES_TABLE', $table_prefix.'images');
-define('SESSIONS_TABLE', $table_prefix.'sessions');
-define('SITES_TABLE', $table_prefix.'sites');
-define('USER_ACCESS_TABLE', $table_prefix.'user_access');
-define('USER_GROUP_TABLE', $table_prefix.'user_group');
-define('USERS_TABLE', $table_prefix.'users');
-define('WAITING_TABLE', $table_prefix.'waiting');
-define('IMAGE_METADATA_TABLE', $table_prefix.'image_metadata');
-define('RATE_TABLE', $table_prefix.'rate');
-define('USER_FORBIDDEN_TABLE', $table_prefix.'user_forbidden');
+define('CATEGORIES_TABLE', $prefixeTable.'categories');
+define('COMMENTS_TABLE', $prefixeTable.'comments');
+define('CONFIG_TABLE', $prefixeTable.'config');
+define('FAVORITES_TABLE', $prefixeTable.'favorites');
+define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access');
+define('GROUPS_TABLE', $prefixeTable.'groups');
+define('HISTORY_TABLE', $prefixeTable.'history');
+define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category');
+define('IMAGES_TABLE', $prefixeTable.'images');
+define('SESSIONS_TABLE', $prefixeTable.'sessions');
+define('SITES_TABLE', $prefixeTable.'sites');
+define('USER_ACCESS_TABLE', $prefixeTable.'user_access');
+define('USER_GROUP_TABLE', $prefixeTable.'user_group');
+define('USERS_TABLE', $prefixeTable.'users');
+define('WAITING_TABLE', $prefixeTable.'waiting');
+define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
+define('RATE_TABLE', $prefixeTable.'rate');
+define('USER_FORBIDDEN_TABLE', $prefixeTable.'user_forbidden');
?>