Changeset 364 for trunk/picture.php
- Timestamp:
- Feb 19, 2004, 1:31:09 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r362 r364 26 26 // +-----------------------------------------------------------------------+ 27 27 //----------------------------------------------------------- include 28 $phpwg_root_path = './';29 include_once( $phpwg_root_path.'include/common.inc.php' );28 define('PHPWG_ROOT_PATH','./'); 29 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 30 30 //-------------------------------------------------- access authorization check 31 31 check_cat_id( $_GET['cat'] ); … … 577 577 { 578 578 $query = 'SELECT COUNT(*) AS user_exists'; 579 $query.= ' FROM '. PREFIX_TABLE.'users';579 $query.= ' FROM '.USERS_TABLE; 580 580 $query.= " WHERE username = '".$author."'"; 581 581 $query.= ';';
Note: See TracChangeset
for help on using the changeset viewer.