initial commit
This commit is contained in:
commit
f2ff442d8a
21 changed files with 1559 additions and 0 deletions
29
library/Katharsis/Bootstrap.php
Normal file
29
library/Katharsis/Bootstrap.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php require_once('library/Katharsis/Autoload.php');
|
||||
/**
|
||||
* Bootstrap Class
|
||||
* Central application routing entity
|
||||
*
|
||||
* @author Karl Pannek <info@katharsis.in>
|
||||
* @version 0.5.2
|
||||
* @package Katharsis
|
||||
*/
|
||||
class Katharsis_Bootstrap
|
||||
{
|
||||
/**
|
||||
* Central application routing method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function run()
|
||||
{
|
||||
$router = Katharsis_ControllerRouting::getInstance();
|
||||
|
||||
$router->init();
|
||||
|
||||
Katharsis_Controller_Plugin::preControllerHook();
|
||||
|
||||
$router->route();
|
||||
|
||||
Katharsis_Controller_Plugin::postControllerHook();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue