Changeset 364 for trunk/admin.php
- Timestamp:
- Feb 19, 2004, 1:31:09 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r362 r364 27 27 28 28 //----------------------------------------------------------- include 29 $phpwg_root_path = './';30 include_once( $phpwg_root_path.'include/common.inc.php' );29 define('PHPWG_ROOT_PATH','./'); 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 31 include_once( './admin/include/isadmin.inc.php' ); 32 32 //----------------------------------------------------- template initialization … … 55 55 if ( !is_numeric( $_GET['user_id'] ) ) $_GET['user_id'] = -1; 56 56 $query = 'SELECT status,username'; 57 $query.= ' FROM '. PREFIX_TABLE.'users';57 $query.= ' FROM '.USERS_TABLE; 58 58 $query.= ' WHERE id = '.$_GET['user_id']; 59 59 $query.= ';';
Note: See TracChangeset
for help on using the changeset viewer.