Skip to content

Commit

Permalink
Merge pull request #9 from holtkamp/patch-without-require-once-statement
Browse files Browse the repository at this point in the history
Remove unneeded require_once
  • Loading branch information
mnapoli committed Jun 4, 2015
2 parents bfdffd4 + 276a996 commit fe316f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/DI/Bridge/ZendFramework1/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public function dispatch(Zend_Controller_Request_Abstract $request, Zend_Control
if (!$this->isDispatchable($request)) {
$controller = $request->getControllerName();
if (!$this->getParam('useDefaultControllerAlways') && !empty($controller)) {
require_once 'Zend/Controller/Dispatcher/Exception.php';
throw new Zend_Controller_Dispatcher_Exception('Invalid controller specified (' . $request->getControllerName() . ')');
}

Expand Down

0 comments on commit fe316f5

Please sign in to comment.