Ignore:
Timestamp:
Dec 20, 2004, 8:26:43 PM (20 years ago)
Author:
plg
Message:
  • replacement of PREFIX_TABLE constant in delete_user function
  • deletion of $isadmin variable, replaced by constant IN_ADMIN
  • small refactoring
  • in include/common.inc.php, deletion of useless part "Obtain and encode users IP" and corresponding functions encode_ip and decode_ip
  • definition of $confdefault_language deleted from include/config.inc.php : it is already present in database table config
  • function init_userprefs deleted (useless), all its content moved to include/user.inc.php
  • admin.lang.php and faq.lang.php are loaded only if current user is in administrative section
File:
1 edited

Legend:

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

    r647 r650  
    159159$conf['info_nb_elements_page'] = 5;
    160160
    161 // default_language : language used if language set in user database is not
    162 // available
    163 $conf['default_language'] = 'en_UK.iso-8859-1';
    164 
    165161// show_queries : for debug purpose, show queries and execution times
    166162$conf['show_queries'] = false;
Note: See TracChangeset for help on using the changeset viewer.