Changeset 7826
- Timestamp:
- 03/12/08 16:02:22 (1 year ago)
- Files:
-
- branches/1.1/lib/config/sfConfigHandler.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/config/sfConfigHandler.class.php
r7811 r7826 95 95 public static function replacePath($path) 96 96 { 97 if ( !sfToolkit::isPathAbsolute($path))97 if (is_array($path)) 98 98 { 99 // not an absolute path so we'll prepend to it 100 $path = sfConfig::get('sf_app_dir').'/'.$path; 99 array_walk_recursive($path, create_function('&$path', '$path = sfConfigHandler::replacePath($path);')); 100 } 101 else 102 { 103 if (!sfToolkit::isPathAbsolute($path)) 104 { 105 // not an absolute path so we'll prepend to it 106 $path = sfConfig::get('sf_app_dir').'/'.$path; 107 } 101 108 } 102 109

