Changeset 5912 for trunk/listAdmin/inc


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/listAdmin/inc/sieve-php.lib.php

    r3514 r5912  
    372372    //So, if we see IMLEMENTATION in the first line, then we are done. 
    373373 
    374     if(ereg("IMPLEMENTATION",$this->line)) 
     374    if(preg_match('/IMPLEMENTATION/',$this->line)) 
    375375    { 
    376376      //we're on the Cyrus V2 sieve server 
     
    767767    //So, if we see IMLEMENTATION in the first line, then we are done. 
    768768 
    769     if(ereg("IMPLEMENTATION",$this->line)) 
     769    if(preg_match('/IMPLEMENTATION/',$this->line)) 
    770770    { 
    771771      //we're on the Cyrus V2 sieve server 
Note: See TracChangeset for help on using the changeset viewer.