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

Commit

Permalink
[+] bugfix: #2781 Commit a4cb964 broke view_path parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryVarennikov committed Oct 17, 2012
1 parent b91ed24 commit ac5fc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Mvc/Service/ViewHelperManagerFactory.php
Expand Up @@ -86,7 +86,7 @@ public function createService(ServiceLocatorInterface $serviceLocator)
$config = $serviceLocator->get('Config');
$basePathHelper = new ViewHelper\BasePath;
if (isset($config['view_manager']) && isset($config['view_manager']['base_path'])) {
$basePath = $config['base_path'];
$basePath = $config['view_manager']['base_path'];
} else {
$basePath = $serviceLocator->get('Request')->getBasePath();
}
Expand Down

0 comments on commit ac5fc72

Please sign in to comment.