Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Edited library/Zend/Mvc/Router/Http/TreeRouteStack.php via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
Rovak committed Oct 13, 2011
1 parent 67b856e commit 9bb91b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/Zend/Mvc/Router/Http/TreeRouteStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class TreeRouteStack extends SimpleRouteStack
*/
protected function init()
{
$this->pluginBroker->getClassLoader()->registerPlugins(array(
$this->routeBroker->getClassLoader()->registerPlugins(array(
'literal' => __NAMESPACE__ . '\Literal',
'regex' => __NAMESPACE__ . '\Regex',
'segment' => __NAMESPACE__ . '\Segment',
Expand Down Expand Up @@ -110,10 +110,10 @@ protected function routeFromArray(array $specs)
'route' => $route,
'may_terminate' => (isset($specs['may_terminate']) && $specs['may_terminate']),
'child_routes' => $specs['routes'],
'plugin_broker' => $this->pluginBroker,
'plugin_broker' => $this->routeBroker,
);

$route = $this->pluginBroker->load('part', $options);
$route = $this->routeBroker->load('part', $options);
}

return $route;
Expand Down

0 comments on commit 9bb91b8

Please sign in to comment.