Changeset 556
- Timestamp:
- Oct 7, 2004, 11:41:09 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/upload.php
r544 r556 37 37 //echo $_FILES['picture']['name']."<br />".$temp_name; 38 38 $extension = get_extension( $_FILES['picture']['name'] ); 39 if ( in_array( $extension, $conf['picture_ext'])39 if ( !in_array( $extension, $conf['picture_ext'] ) ) 40 40 { 41 41 array_push( $result['error'], $lang['upload_advise_filetype'] ); … … 50 50 { 51 51 array_push( $result['error'], 52 $lang['upload_advise_ width'].$my_max_file_size.' KB' );52 $lang['upload_advise_filesize'].$my_max_file_size.' KB' ); 53 53 } 54 54 else
Note: See TracChangeset
for help on using the changeset viewer.