Ignore:
Timestamp:
03/19/09 22:06:09 (11 years ago)
Author:
ray
Message:

#1408 PHP5 IIS file upload problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/Classes/Files.php

    r999 r1171  
    3636        function copyFile($source, $destination_dir, $destination_file, $unique=true)  
    3737        { 
    38                 if(!(file_exists($source) && is_file($source)))  
     38                if(!is_uploaded_file($source) && !(file_exists($source) && is_file($source)))  
    3939                        return FILE_ERROR_NO_SOURCE; 
    4040 
Note: See TracChangeset for help on using the changeset viewer.