Development

Changeset 5841

You must first sign up to be able to contribute.

Changeset 5841

Show
Ignore:
Timestamp:
11/04/07 16:18:44 (2 years ago)
Author:
fabien
Message:

fixed assertion fail on non-unix system in configTest functional test (closes #2486)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/test/functional/configTest.php

    r3203 r5841  
    6363function strip_paths($f) 
    6464{ 
    65   $f = str_replace(sfConfig::get('sf_symfony_data_dir'), 'SYMFONY', $f); 
    66   $f = str_replace(sfConfig::get('sf_root_dir'), 'PROJECT', $f); 
     65  $f = str_replace( 
     66    array(sfConfig::get('sf_symfony_data_dir'), sfConfig::get('sf_root_dir'), DIRECTORY_SEPARATOR), 
     67    array('SYMFONY', 'PROJECT', '/'), 
     68    $f); 
    6769 
    6870  return $f; 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.