Changeset 613 for trunk/picture.php
- Timestamp:
- Nov 21, 2004, 1:42:55 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r607 r613 29 29 //--------------------------------------------------------------------- include 30 30 define('PHPWG_ROOT_PATH','./'); 31 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );31 include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); 32 32 //-------------------------------------------------- access authorization check 33 33 check_cat_id( $_GET['cat'] ); … … 151 151 if (isset($row['representative_ext']) and $row['representative_ext'] =! '') 152 152 { 153 $picture[$i]['src'] = $cat_directory.' pwg_representative/';153 $picture[$i]['src'] = $cat_directory.'/pwg_representative/'; 154 154 $picture[$i]['src'].= $file_wo_ext.'.'.$row['representative_ext']; 155 155 } … … 167 167 if ($i == 'current') 168 168 { 169 if (@fopen($cat_directory.' pwg_high/'.$row['file'], 'r'))169 if (@fopen($cat_directory.'/pwg_high/'.$row['file'], 'r')) 170 170 { 171 $picture[$i]['high'] = $cat_directory.' pwg_high/'.$row['file'];171 $picture[$i]['high'] = $cat_directory.'/pwg_high/'.$row['file']; 172 172 } 173 173 }
Note: See TracChangeset
for help on using the changeset viewer.