Changeset 5781 for trunk/phpgwapi
- Timestamp:
- 03/22/12 01:02:59 (12 years ago)
- Location:
- trunk/phpgwapi/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php
r370 r5781 652 652 $db = adodb_addslashes($db); 653 653 if ($str) { 654 $host = split(":", $str);654 $host = explode(":", $str); 655 655 if ($host[0]) $str = "host=".adodb_addslashes($host[0]); 656 656 else $str = ''; -
trunk/phpgwapi/inc/class.setup_detection.inc.php
r5773 r5781 21 21 while($entry=$d->read()) 22 22 { 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)) 24 24 { 25 25 $f = PHPGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php'; … … 317 317 $config_table = $ver[0] > 0 || (int)$ver[2] > 10 ? 'phpgw_config' : 'config'; 318 318 319 if(preg_match( '/([0-9]+)(pre)([0-9]+)/',$ver[2],$regs))319 if(preg_match("/([0-9]+)(pre)([0-9]+)/",$ver[2],$regs)) 320 320 { 321 321 if(($regs[1] == '10') && ($regs[3] >= '6'))
Note: See TracChangeset
for help on using the changeset viewer.