Ignore:
Timestamp:
07/14/10 09:50:52 (9 years ago)
Author:
gogo
Message:

Patch for Mootools File Manager for deprecation of ereg in php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/Backend/Upload.php

    r1239 r1269  
    9696                $mime = null; 
    9797                $ini = error_reporting(0); 
    98                 if (function_exists('finfo_open') && $f = finfo_open(FILEINFO_MIME, getenv('MAGIC'))){ 
     98                if (function_exists('finfo_open') && $f = @finfo_open(FILEINFO_MIME, getenv('MAGIC'))){ 
    9999                        $mime = finfo_file($f, $file); 
    100100                        finfo_close($f); 
Note: See TracChangeset for help on using the changeset viewer.