0001-added-opApplicationConfigurtion-getLibDirs-method.patch
lib/config/opApplicationConfiguration.class.php | ||
---|---|---|
282 | 282 |
} |
283 | 283 | |
284 | 284 |
/** |
285 |
* Gets directories where library classes are stored for a given module. |
|
286 |
* |
|
287 |
* @param string $moduleName The module name |
|
288 |
* |
|
289 |
* @return array An array of directories |
|
290 |
*/ |
|
291 |
public function getLibDirs($moduleName) |
|
292 |
{ |
|
293 |
$dirs = array(); |
|
294 | ||
295 |
$dirs = array_merge($dirs, $this->globEnablePlugin('/apps/'.sfConfig::get('sf_app').'/modules/'.$moduleName.'/lib', false)); |
|
296 |
$dirs = array_merge($dirs, parent::getLibDirs($moduleName)); |
|
297 | ||
298 |
return $dirs; |
|
299 |
} |
|
300 | ||
301 |
/** |
|
285 | 302 |
* Gets directories where template files are stored for a given module. |
286 | 303 |
* |
287 | 304 |
* @param string $moduleName The module name |
288 |
- |