Changeset 532 for trunk

Show
Ignore:
Timestamp:
04/22/08 16:10:23 (7 months ago)
Author:
sidtheduck
Message:

+ more fun with apostrophes (') in filename.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/plog-admin-functions.php

    r531 r532  
    4848        $i = 0; 
    4949 
    50         $unique_filename_base = strtolower(sanitize_filename($filename_base)); 
     50        $unique_filename_base = strtolower(sanitize_filename(SmartStripSlashes($filename_base))); 
    5151 
    5252        // now get the name of the collection 
     
    9898 
    9999        if (is_file($tmpname)){ 
    100                 unlink($tmpname); 
     100                @unlink($tmpname); 
    101101        } 
    102102        $res = chmod($final_fqfn, 0755);