Changeset 8634
- Timestamp:
- 04/27/08 01:06:02 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/config/sfProjectConfiguration.class.php
r8626 r8634 10 10 11 11 /** 12 * sf Configuration represents a configuration for a symfony project.12 * sfProjectConfiguration represents a configuration for a symfony project. 13 13 * 14 14 * @package symfony … … 234 234 public function getPluginPaths() 235 235 { 236 $plugins = sfFinder::type('dir')->discard('.*')->prune('.*')-> maxdepth(0)->in(sfConfig::get('sf_plugins_dir'));236 $plugins = sfFinder::type('dir')->discard('.*')->prune('.*')->follow_link()->maxdepth(0)->in(sfConfig::get('sf_plugins_dir')); 237 237 238 238 $bundledPluginDir = sfConfig::get('sf_symfony_lib_dir').'/plugins'; 239 $bundledPlugins = sfFinder::type('dir')->maxdepth(0)-> relative()->in($bundledPluginDir);239 $bundledPlugins = sfFinder::type('dir')->maxdepth(0)->follow_link()->relative()->in($bundledPluginDir); 240 240 foreach ($bundledPlugins as $bundledPlugin) 241 241 { … … 245 245 } 246 246 } 247 247 248 248 return $plugins; 249 249 }

