Ignore:
Timestamp:
Sep 21, 2007, 11:23:09 PM (17 years ago)
Author:
rub
Message:

Resolved 0000748: Name configuration of all the tables

New method of implementation!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r2096 r2104  
    431431$conf['apache_authentication'] = false;
    432432
    433 // With $conf['tables'] you can use external tables
    434 // For example with $conf['tables']['users_table']:
    435 //   which table is the reference for users? Can be a different
    436 //   table than PhpWebGallery table
     433// users_table: which table is the reference for users? Can be a different
     434// table than PhpWebGallery table
    437435//
    438436// If you decide to use another table than the default one, you need to
     
    452450// All informations contained in these tables and column are related to
    453451// phpwebgallery_users table.
    454 
    455 $conf['tables']['categories_table'] = $prefixeTable.'categories';
    456 $conf['tables']['comments_table'] = $prefixeTable.'comments';
    457 $conf['tables']['config_table'] = $prefixeTable.'config';
    458 $conf['tables']['favorites_table'] = $prefixeTable.'favorites';
    459 $conf['tables']['group_access_table'] = $prefixeTable.'group_access';
    460 $conf['tables']['groups_table'] = $prefixeTable.'groups';
    461 $conf['tables']['history_table'] = $prefixeTable.'history';
    462 $conf['tables']['history_summary_table'] = $prefixeTable.'history_summary';
    463 $conf['tables']['image_category_table'] = $prefixeTable.'image_category';
    464 $conf['tables']['images_table'] = $prefixeTable.'images';
    465 $conf['tables']['sessions_table'] = $prefixeTable.'sessions';
    466 $conf['tables']['sites_table'] = $prefixeTable.'sites';
    467 $conf['tables']['user_access_table'] = $prefixeTable.'user_access';
    468 $conf['tables']['user_group_table'] = $prefixeTable.'user_group';
    469 $conf['tables']['users_table'] = $prefixeTable.'users';
    470 $conf['tables']['user_infos_table'] = $prefixeTable.'user_infos';
    471 $conf['tables']['user_feed_table'] = $prefixeTable.'user_feed';
    472 $conf['tables']['waiting_table'] = $prefixeTable.'waiting';
    473 $conf['tables']['image_metadata_table'] = $prefixeTable.'image_metadata';
    474 $conf['tables']['rate_table'] = $prefixeTable.'rate';
    475 $conf['tables']['user_cache_table'] = $prefixeTable.'user_cache';
    476 $conf['tables']['user_cache_categories_table'] = $prefixeTable.'user_cache_categories';
    477 $conf['tables']['caddie_table'] = $prefixeTable.'caddie';
    478 $conf['tables']['upgrade_table'] = $prefixeTable.'upgrade';
    479 $conf['tables']['search_table'] = $prefixeTable.'search';
    480 $conf['tables']['user_mail_notification_table'] = $prefixeTable.'user_mail_notification';
    481 $conf['tables']['tags_table'] = $prefixeTable.'tags';
    482 $conf['tables']['image_tag_table'] = $prefixeTable.'image_tag';
    483 $conf['tables']['plugins_table'] = $prefixeTable.'plugins';
    484 $conf['tables']['web_services_access_table'] = $prefixeTable.'ws_access';
    485 $conf['tables']['old_permalinks_table'] = $prefixeTable.'old_permalinks';
     452$conf['users_table'] = $prefixeTable.'users';
     453
     454// Other tables can be changed, if you define associated constants
     455// Example:
     456//   define('USER_INFOS_TABLE', 'pwg_main'.'user_infos');
     457
    486458
    487459// user_fields : mapping between generic field names and table specific
Note: See TracChangeset for help on using the changeset viewer.