Changeset 5781


Ignore:
Timestamp:
03/22/12 01:02:59 (12 years ago)
Author:
leandro.leal
Message:

Ticket #2558 - Bugs em funcoes descontinuadas ereg, split...

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php

    r370 r5781  
    652652                        $db = adodb_addslashes($db); 
    653653                        if ($str)  { 
    654                                 $host = split(":", $str); 
     654                                $host = explode(":", $str); 
    655655                                if ($host[0]) $str = "host=".adodb_addslashes($host[0]); 
    656656                                else $str = ''; 
  • trunk/phpgwapi/inc/class.setup_detection.inc.php

    r5773 r5781  
    2121                        while($entry=$d->read()) 
    2222                        { 
    23                                 if($entry != ".." && !preg_match('/setup/',$entry) && is_dir(PHPGW_SERVER_ROOT . '/' . $entry)) 
     23                                if($entry != ".." && !preg_match("/setup/",$entry) && is_dir(PHPGW_SERVER_ROOT . '/' . $entry)) 
    2424                                { 
    2525                                        $f = PHPGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php'; 
     
    317317                        $config_table = $ver[0] > 0 || (int)$ver[2] > 10 ? 'phpgw_config' : 'config'; 
    318318 
    319                         if(preg_match('/([0-9]+)(pre)([0-9]+)/',$ver[2],$regs)) 
     319                        if(preg_match("/([0-9]+)(pre)([0-9]+)/",$ver[2],$regs)) 
    320320                        { 
    321321                                if(($regs[1] == '10') && ($regs[3] >= '6')) 
  • trunk/setup/check_install.php

    r2 r5781  
    384384                                $check = lang('contain'); 
    385385                                $sep = $is_windows ? '[; ]+' : '[: ]+'; 
    386                                 $result = in_array($args['value'],split($sep,$ini_value)); 
     386                                $result = in_array($args['value'],explode($sep,$ini_value)); 
    387387                                break; 
    388388                        case '=': 
  • trunk/setup/config.php

    r5773 r5781  
    6565 
    6666        /* Following to ensure windows file paths are saved correctly */ 
     67        //set_magic_quotes_runtime(0);  
    6768        magic_quotes_runtime(0); 
    6869 
Note: See TracChangeset for help on using the changeset viewer.