tournasdim
3/2/2014 - 9:02 AM

Add a custom route or alias to your ZF1-application . Paste the code into application/bootstrap.php

Add a custom route or alias to your ZF1-application . Paste the code into application/bootstrap.php

	protected function _initRouter()
	{
	  $frontController = Zend_Controller_Front::getInstance();
	  $router = $frontController->getRouter();
	  
	  // Product view route
	  $route = new Zend_Controller_Router_Route(
	   '/home',
		array(
		 'controller' => 'index',
		 'action' => 'index'
		));
	  $router->addRoute('home', $route);
	}