Web: re-add duplicate ZF plugin loader paths

Not sure why we need both of them, my installation works with both,
one or the other. Re-adding the duplicate one as a related issue
has been reported.

refs #10634
This commit is contained in:
Thomas Gelf 2015-11-15 23:34:44 +01:00
parent b643c97fb0
commit 9156e58329
1 changed files with 7 additions and 0 deletions

View File

@ -472,10 +472,17 @@ class Web extends EmbeddedWeb
*/
private function setupPagination()
{
// TODO: document what we need for whatever reason?!
Zend_Paginator::addScrollingStylePrefixPath(
'Icinga_Web_Paginator_ScrollingStyle_',
$this->getLibraryDir('Icinga/Web/Paginator/ScrollingStyle')
);
Zend_Paginator::addScrollingStylePrefixPath(
'Icinga_Web_Paginator_ScrollingStyle',
'Icinga/Web/Paginator/ScrollingStyle'
);
Zend_Paginator::setDefaultScrollingStyle('SlidingWithBorder');
Zend_View_Helper_PaginationControl::setDefaultViewPartial(
array('mixedPagination.phtml', 'default')