Development

Changeset 10147

You must first sign up to be able to contribute.

Changeset 10147

Show
Ignore:
Timestamp:
07/06/08 08:27:58 (5 months ago)
Author:
dwhittle
Message:

1.2: merged r10140 - updated sfLoader to load helpers from bundled plugins

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/config/sfLoader.class.php

    r9085 r10147  
    5050 
    5151    $dirs[] = sfConfig::get('sf_symfony_lib_dir').'/helper';                      // symfony 
     52 
     53    if ($pluginDirs = glob(sfConfig::get('sf_symfony_lib_dir').'/plugins/*/lib/helper')) 
     54    { 
     55      $dirs = array_merge($dirs, $pluginDirs);                                    // symfony bundled plugins 
     56    } 
    5257 
    5358    return $dirs;