Changeset 4357


Ignore:
Timestamp:
Nov 24, 2009, 11:19:27 AM (11 years ago)
Author:
nikrou
Message:

Feature 928 :
partial revert of svn:4280 for external authentification.

Location:
trunk/include
Files:
2 edited

Legend:

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

    r4280 r4357  
    495495// All informations contained in these tables and column are related to
    496496// piwigo_users table.
    497 //
    498 // You can use a different table for users, if you define associated constant
    499 // default configuration :
    500 // define('USERS_TABLE', $prefixeTable.'users');
     497$conf['users_table'] = $prefixeTable.'users';
    501498
    502499// Other tables can be changed, if you define associated constants
    503500// Example:
    504501//   define('USER_INFOS_TABLE', 'pwg_main'.'user_infos');
    505 
    506502
    507503// user_fields : mapping between generic field names and table specific
  • trunk/include/constants.php

    r4280 r4357  
    6969  define('USER_GROUP_TABLE', $prefixeTable.'user_group');
    7070if (!defined('USERS_TABLE'))
    71   define('USERS_TABLE', $prefixeTable.'users');
     71  define('USERS_TABLE', $conf['users_table']);
    7272if (!defined('USER_INFOS_TABLE'))
    7373  define('USER_INFOS_TABLE', $prefixeTable.'user_infos');
Note: See TracChangeset for help on using the changeset viewer.