Ignore:
Timestamp:
12/21/11 18:42:14 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2398 - Compatibilizando codigo do Expresso, em geral, com PHP >= 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/functions.inc.php

    r5164 r5281  
    101101        } 
    102102 
    103         magic_quotes_runtime(false); 
    104103        print_debug('sane environment','messageonly','api'); 
    105104 
     
    406405                while ($phpgw_class_name = each($GLOBALS['phpgw_info']['flags'])) 
    407406                { 
    408                         if (ereg('enable_',$phpgw_class_name[0])) 
     407                        if (preg_match('/enable_/',$phpgw_class_name[0])) 
    409408                        { 
    410409                                $enable_class = str_replace('enable_','',$phpgw_class_name[0]); 
Note: See TracChangeset for help on using the changeset viewer.