Changeset 240


Ignore:
Timestamp:
Jan 3, 2004, 8:28:28 PM (20 years ago)
Author:
z0rglub
Message:

use correct define syntax, remove get_restrictions for user because they are now saved in the database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_3/include/init.inc.php

    r57 r240  
    1717 *                                                                         *
    1818 ***************************************************************************/
    19 define( PREFIX_INCLUDE, '' );
     19define( 'PREFIX_INCLUDE', '' );
    2020
    2121include_once( './include/config.inc.php' );
     
    2424// calculation of the number of picture to display per page
    2525$user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page'];
    26 // retrieving the restrictions for this user
    27 $user['restrictions'] = get_restrictions( $user['id'], $user['status'], true );
    28        
     26
    2927$isadmin = false;
    3028include_once( './language/'.$user['language'].'.php' );
Note: See TracChangeset for help on using the changeset viewer.