Tillbaka till v0.1 och den här gången med struktur
This commit is contained in:
parent
6a889432f3
commit
f0198ab85b
2717 changed files with 677839 additions and 1 deletions
30
application/Bootstrap.php
Normal file
30
application/Bootstrap.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Bootstrap this shit
|
||||
*/
|
||||
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
{
|
||||
/**
|
||||
* Setup view object
|
||||
*
|
||||
* return Zend_View $view
|
||||
*/
|
||||
protected function _initView()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Configure the front controller
|
||||
*/
|
||||
protected function _initFront()
|
||||
{
|
||||
// Get front controller
|
||||
$frontController = Zend_Controller_Front::getInstance();
|
||||
|
||||
// Set modules directory
|
||||
$frontController->addModuleDirectory(APPLICATION_PATH . '/modules');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in a new issue