Ignore:
Timestamp:
04/27/12 09:17:30 (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/library/mime/mimeDecode.php

    r4414 r6057  
    665665            $boundary = $bs_possible; 
    666666        } 
    667         $tmp = preg_split("/--".preg_quote($boundary, '/')."((?=\s)|--)/", $input); 
     667        $tmp = preg_split('/\/--/'.preg_quote($boundary, '/')."((?=\s)|--)/", $input); 
    668668 
    669669        $len = count($tmp) -1; 
     
    799799 
    800800            $file = ''; 
    801             $str = preg_split("/\r?\n/", trim($str)); 
     801            $str = preg_split('/\r?\n/', trim($str)); 
    802802            $strlen = count($str); 
    803803 
Note: See TracChangeset for help on using the changeset viewer.