application/Bootstrap.php: minor stuff.
This commit is contained in:
parent
0b7820b70a
commit
f679e6dc13
1 changed files with 1 additions and 7 deletions
|
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Reference in a new issue