Ignore:
Timestamp:
Jan 9, 2005, 12:32:25 AM (19 years ago)
Author:
plg
Message:
  • replacement of variable names in include/mysql.inc.php (for upgrades) :

dbname => cfgBase
dbuser => cfgUser
dbpasswd => cfgPassword
dbhost => cfgHote
table_prefix => prefixeTable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/constants.php

    r675 r681  
    4141
    4242// Table names
    43 define('CATEGORIES_TABLE', $table_prefix.'categories');
    44 define('COMMENTS_TABLE', $table_prefix.'comments');
    45 define('CONFIG_TABLE', $table_prefix.'config');
    46 define('FAVORITES_TABLE', $table_prefix.'favorites');
    47 define('GROUP_ACCESS_TABLE', $table_prefix.'group_access');
    48 define('GROUPS_TABLE', $table_prefix.'groups');
    49 define('HISTORY_TABLE', $table_prefix.'history');
    50 define('IMAGE_CATEGORY_TABLE', $table_prefix.'image_category');
    51 define('IMAGES_TABLE', $table_prefix.'images');
    52 define('SESSIONS_TABLE', $table_prefix.'sessions');
    53 define('SITES_TABLE', $table_prefix.'sites');
    54 define('USER_ACCESS_TABLE', $table_prefix.'user_access');
    55 define('USER_GROUP_TABLE', $table_prefix.'user_group');
    56 define('USERS_TABLE', $table_prefix.'users');
    57 define('WAITING_TABLE', $table_prefix.'waiting');
    58 define('IMAGE_METADATA_TABLE', $table_prefix.'image_metadata');
    59 define('RATE_TABLE', $table_prefix.'rate');
    60 define('USER_FORBIDDEN_TABLE', $table_prefix.'user_forbidden');
     43define('CATEGORIES_TABLE', $prefixeTable.'categories');
     44define('COMMENTS_TABLE', $prefixeTable.'comments');
     45define('CONFIG_TABLE', $prefixeTable.'config');
     46define('FAVORITES_TABLE', $prefixeTable.'favorites');
     47define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access');
     48define('GROUPS_TABLE', $prefixeTable.'groups');
     49define('HISTORY_TABLE', $prefixeTable.'history');
     50define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category');
     51define('IMAGES_TABLE', $prefixeTable.'images');
     52define('SESSIONS_TABLE', $prefixeTable.'sessions');
     53define('SITES_TABLE', $prefixeTable.'sites');
     54define('USER_ACCESS_TABLE', $prefixeTable.'user_access');
     55define('USER_GROUP_TABLE', $prefixeTable.'user_group');
     56define('USERS_TABLE', $prefixeTable.'users');
     57define('WAITING_TABLE', $prefixeTable.'waiting');
     58define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
     59define('RATE_TABLE', $prefixeTable.'rate');
     60define('USER_FORBIDDEN_TABLE', $prefixeTable.'user_forbidden');
    6161?>
Note: See TracChangeset for help on using the changeset viewer.