Ignore:
Timestamp:
Sep 19, 2007, 7:26:58 AM (17 years ago)
Author:
rub
Message:

Resolved 0000748: Name configuration of all the tables
Resolved 0000750: Check anomalies after upgrade (Feature proposition)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/constants.php

    r1954 r2096  
    4646
    4747// Table names
    48 define('CATEGORIES_TABLE', $prefixeTable.'categories');
    49 define('COMMENTS_TABLE', $prefixeTable.'comments');
    50 define('CONFIG_TABLE', $prefixeTable.'config');
    51 define('FAVORITES_TABLE', $prefixeTable.'favorites');
    52 define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access');
    53 define('GROUPS_TABLE', $prefixeTable.'groups');
    54 define('HISTORY_TABLE', $prefixeTable.'history');
    55 define('HISTORY_SUMMARY_TABLE', $prefixeTable.'history_summary');
    56 define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category');
    57 define('IMAGES_TABLE', $prefixeTable.'images');
    58 define('SESSIONS_TABLE', $prefixeTable.'sessions');
    59 define('SITES_TABLE', $prefixeTable.'sites');
    60 define('USER_ACCESS_TABLE', $prefixeTable.'user_access');
    61 define('USER_GROUP_TABLE', $prefixeTable.'user_group');
    62 define('USERS_TABLE', $conf['users_table']);
    63 define('USER_INFOS_TABLE', $prefixeTable.'user_infos');
    64 define('USER_FEED_TABLE', $prefixeTable.'user_feed');
    65 define('WAITING_TABLE', $prefixeTable.'waiting');
    66 define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
    67 define('RATE_TABLE', $prefixeTable.'rate');
    68 define('USER_CACHE_TABLE', $prefixeTable.'user_cache');
    69 define('USER_CACHE_CATEGORIES_TABLE', $prefixeTable.'user_cache_categories');
    70 define('CADDIE_TABLE', $prefixeTable.'caddie');
    71 define('UPGRADE_TABLE', $prefixeTable.'upgrade');
    72 define('SEARCH_TABLE', $prefixeTable.'search');
    73 define('USER_MAIL_NOTIFICATION_TABLE', $prefixeTable.'user_mail_notification');
    74 define('TAGS_TABLE', $prefixeTable.'tags');
    75 define('IMAGE_TAG_TABLE', $prefixeTable.'image_tag');
    76 define('PLUGINS_TABLE', $prefixeTable.'plugins');
    77 define('WEB_SERVICES_ACCESS_TABLE', $prefixeTable.'ws_access');
    78 define('OLD_PERMALINKS_TABLE', $prefixeTable.'old_permalinks');
     48define('CATEGORIES_TABLE', $conf['tables']['categories_table']);
     49define('COMMENTS_TABLE', $conf['tables']['comments_table']);
     50define('CONFIG_TABLE', $conf['tables']['config_table']);
     51define('FAVORITES_TABLE', $conf['tables']['favorites_table']);
     52define('GROUP_ACCESS_TABLE', $conf['tables']['group_access_table']);
     53define('GROUPS_TABLE', $conf['tables']['groups_table']);
     54define('HISTORY_TABLE', $conf['tables']['history_table']);
     55define('HISTORY_SUMMARY_TABLE', $conf['tables']['history_summary_table']);
     56define('IMAGE_CATEGORY_TABLE', $conf['tables']['image_category_table']);
     57define('IMAGES_TABLE', $conf['tables']['images_table']);
     58define('SESSIONS_TABLE', $conf['tables']['sessions_table']);
     59define('SITES_TABLE', $conf['tables']['sites_table']);
     60define('USER_ACCESS_TABLE', $conf['tables']['user_access_table']);
     61define('USER_GROUP_TABLE', $conf['tables']['user_group_table']);
     62define('USERS_TABLE', $conf['tables']['users_table']);
     63define('USER_INFOS_TABLE', $conf['tables']['user_infos_table']);
     64define('USER_FEED_TABLE', $conf['tables']['user_feed_table']);
     65define('WAITING_TABLE', $conf['tables']['waiting_table']);
     66define('IMAGE_METADATA_TABLE', $conf['tables']['image_metadata_table']);
     67define('RATE_TABLE', $conf['tables']['rate_table']);
     68define('USER_CACHE_TABLE', $conf['tables']['user_cache_table']);
     69define('USER_CACHE_CATEGORIES_TABLE', $conf['tables']['user_cache_categories_table']);
     70define('CADDIE_TABLE', $conf['tables']['caddie_table']);
     71define('UPGRADE_TABLE', $conf['tables']['upgrade_table']);
     72define('SEARCH_TABLE', $conf['tables']['search_table']);
     73define('USER_MAIL_NOTIFICATION_TABLE', $conf['tables']['user_mail_notification_table']);
     74define('TAGS_TABLE', $conf['tables']['tags_table']);
     75define('IMAGE_TAG_TABLE', $conf['tables']['image_tag_table']);
     76define('PLUGINS_TABLE', $conf['tables']['plugins_table']);
     77define('WEB_SERVICES_ACCESS_TABLE', $conf['tables']['web_services_access_table']);
     78define('OLD_PERMALINKS_TABLE', $conf['tables']['old_permalinks_table']);
     79
    7980?>
Note: See TracChangeset for help on using the changeset viewer.