cleaned project, repaired router
This commit is contained in:
parent
2156d3f5c6
commit
bffe0f1660
16 changed files with 1172 additions and 1440 deletions
|
|
@ -1,29 +1,23 @@
|
|||
<?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();
|
||||
}
|
||||
}
|
||||
<?php
|
||||
require_once('library/Katharsis/Autoload.php');
|
||||
|
||||
class Katharsis_Bootstrap
|
||||
{
|
||||
public static function init()
|
||||
{
|
||||
$router = Katharsis_ControllerRouting::getInstance();
|
||||
$router->init();
|
||||
}
|
||||
|
||||
public static function run()
|
||||
{
|
||||
$router = Katharsis_ControllerRouting::getInstance();
|
||||
|
||||
Katharsis_Controller_Plugin::preControllerHook();
|
||||
|
||||
$router->route();
|
||||
|
||||
Katharsis_Controller_Plugin::postControllerHook();
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue