initial commit
This commit is contained in:
commit
f2ff442d8a
21 changed files with 1559 additions and 0 deletions
26
public/index.php
Normal file
26
public/index.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
/**
|
||||
* Index File
|
||||
* Public central routing file
|
||||
*
|
||||
* @author Karl Pannek <info@katharsis.in>
|
||||
* @version 0.5.2
|
||||
* @package Katharsis
|
||||
*/
|
||||
|
||||
chdir('..');
|
||||
require_once('library/Katharsis/Bootstrap.php');
|
||||
Katharsis_Autoload::init();
|
||||
|
||||
Katharsis_Controller_Plugin::registerPlugin(new Katharsis_Controller_Plugin_Autorender());
|
||||
|
||||
|
||||
try {
|
||||
Katharsis_Bootstrap::run();
|
||||
} catch(Exception $e)
|
||||
{
|
||||
echo '<h2>Exception thrown</h2>';
|
||||
echo '<h3>' . $e->getMessage() . '</h3>';
|
||||
echo '<pre>';
|
||||
print_r($e);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue