Ignore:
Timestamp:
04/11/12 12:04:21 (12 years ago)
Author:
marcosw
Message:

Ticket #2398 - Compatibilizacao com PHP-5.3 em alguns módulos do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/filemanager/inc/class.vfs_functions.inc.php

    r5509 r5912  
    436436                                        $_return[] = array( "error" => $badchar);        
    437437                                } 
    438                                 if(ereg("/", $this->to) || ereg("\\\\", $this->to)) 
     438                                if(preg_match('/\//', $this->to) || preg_match('/\\\\/', $this->to)) 
    439439                                { 
    440440                                        $_return[] = array( "error"=> "slashes"); 
Note: See TracChangeset for help on using the changeset viewer.