Archived
1
0
Fork 0

application/Bootstrap.php: minor stuff.

This commit is contained in:
Henrik Hautakoski 2014-05-09 11:17:22 +02:00
parent 0b7820b70a
commit f679e6dc13

View file

@ -1,9 +1,7 @@
<?php <?php
require_once APPLICATION_PATH . '/Acl.php'; require_once APPLICATION_PATH . '/Acl.php';
/**
* Bootstrap this shit
*/
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{ {
/** /**
@ -119,9 +117,6 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
$router = $this->getResource('front')->getRouter(); $router = $this->getResource('front')->getRouter();
// Use request params
//$router->useRequestParametersAsGlobal(false);
// Set global lang param // Set global lang param
$router->setGlobalParam('lang', 'sv'); $router->setGlobalParam('lang', 'sv');
@ -318,7 +313,6 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
return $acl; return $acl;
} }
/** /**
* This is just a temporary. * This is just a temporary.
* *