diff --git a/module/VuFind/src/VuFind/Bootstrap.php b/module/VuFind/src/VuFind/Bootstrap.php index 4f25b35ee4284339fa697f7f2778403b868447a1..c57f69d3629be06685db360dff948932235e845b 100644 --- a/module/VuFind/src/VuFind/Bootstrap.php +++ b/module/VuFind/src/VuFind/Bootstrap.php @@ -27,8 +27,7 @@ */ namespace VuFind; use VuFind\Config\Reader as ConfigReader, - VuFind\Theme\Initializer as ThemeInitializer, Zend\Console\Console, - Zend\Mvc\MvcEvent, Zend\Mvc\Router\Http\RouteMatch; + Zend\Console\Console, Zend\Mvc\MvcEvent, Zend\Mvc\Router\Http\RouteMatch; /** * VuFind Bootstrapper @@ -309,7 +308,7 @@ class Bootstrap // priority (TODO: use priority constant once defined by framework): $config =& $this->config; $callback = function ($event) use ($config) { - $theme = new ThemeInitializer($config, $event); + $theme = new \VuFind\Theme\Initializer($config, $event); $theme->init(); }; $this->events->attach('dispatch.error', $callback, 10000);