routing_files = $routing_files; } /** * @param \phpbb\extension\finder $finder * @return null */ public function find_routing_files(\phpbb\extension\finder $finder) { // We hardcode the path to the core config directory // because the finder cannot find it $this->routing_files = array_merge($this->routing_files, array('config/routing.yml'), array_keys($finder ->directory('/config') ->suffix('routing.yml') ->find() )); } /** * Find a list of controllers and return it * * @param string $base_path Base path to prepend to file paths * @return null */ public function find($base_path = '') { $this->routes = new RouteCollection; foreach ($this->routing_files as $file_path) { $loader = new YamlFileLoader(new FileLocator($base_path)); $this->routes->addCollection($loader->load($file_path)); } return $this; } /** * Get the list of routes * * @return RouteCollection Get the route collection */ public function get_routes() { return $this->routes; } } ected='selected'>master Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* (add_intf) no need to handle errors, it's done by callee now in order to shareThierry Vignaud2004-02-201-5/+1
* do not horribly die at install time on errorThierry Vignaud2004-02-201-1/+13
* really fix previous button on first step: we want it at install timeThierry Vignaud2004-02-201-1/+1
* keep provider vpi/vci settings when existDamien Chaumette2004-02-201-1/+1
* *** empty log message ***Pascal Rigaux2004-02-201-1/+41
* (update_for_renumbered_partitions):Pascal Rigaux2004-02-201-9/+13
* remove debug statementThierry Vignaud2004-02-201-1/+0
* uim-anthy works ok in on-the-spot mode with KDEPablo Saratxaga2004-02-201-1/+1
* aliase Free non dégroupé 1024/256 on "Free non dégroupé 512/128" (#7615)Thierry Vignaud2004-02-201-0/+3
* Shrink code per Thierry.Stew Benedict2004-02-201-36/+12
* alias agpgart should be only for 2.6, since code doesn't allow this easily,Pascal Rigaux2004-02-202-6/+5
* 10-1mdkThierry Vignaud2004-02-201-1/+5
* fix writing aliases (fix broken speedtouch)Thierry Vignaud2004-02-201-2/+2
* *** empty log message ***Pascal Rigaux2004-02-201-1/+54
* add umask=0022 capability, and use it for security level 3Pascal Rigaux2004-02-201-4/+18
* Gnome is no good, GNOME is goodPascal Rigaux2004-02-202-2/+2
* fix warning LSB chosen implies kernel 2.4Pascal Rigaux2004-02-201-1/+1
* don't force buttons a size related to $::windowwidth since this is no more us...Guillaume Cottenceau2004-02-204-3/+4
* 10.0Guillaume Cottenceau2004-02-201-1/+1
* allow to specify the Xnest wanted resolution with --vgaGuillaume Cottenceau2004-02-201-1/+1
* Gnome icon order. Drop an unused button box.Stew Benedict2004-02-201-53/+28
* 10-0.21mdkThierry Vignaud2004-02-201-1/+11
* since no PCMCIA cards support link status notification, ifplugd shouldThierry Vignaud2004-02-191-1/+3
* updateThierry Vignaud2004-02-191-15103/+17412
* fix stringThierry Vignaud2004-02-191-1/+1
* *** empty log message ***Pascal Rigaux2004-02-191-1/+40
* use $ugtk2::current_window in place of @interactive::objects (which was unuse...Pascal Rigaux2004-02-192-8/+9
* UpdatedArkadiusz Lipiec2004-02-191-14459/+16604
* updated pot filePablo Saratxaga2004-02-19