Upgrade to be able to run on PHp7
This commit is contained in:
parent
b9e04c6ca3
commit
4265af9338
5 changed files with 29 additions and 28 deletions
|
|
@ -13,11 +13,11 @@ require_once('library/Katharsis/Bootstrap.php');
|
|||
Katharsis_Autoload::init();
|
||||
|
||||
Katharsis_Controller_Plugin::registerPlugin(new DidgeridooArtwork_Controller_Plugin_Defaults());
|
||||
Katharsis_Controller_Plugin::registerPlugin(new Local_Controller_Plugin_IndexRedirect());
|
||||
Katharsis_Controller_Plugin::registerPlugin(new Local_Controller_Plugin_PageRewrite());
|
||||
Katharsis_Controller_Plugin::registerPlugin(new DidgeridooArtwork_Controller_Plugin_SetNames());
|
||||
Katharsis_Controller_Plugin::registerPlugin(new Katharsis_Controller_Plugin_StartSession());
|
||||
Katharsis_Controller_Plugin::registerPlugin(new DidgeridooArtwork_Controller_Plugin_Notice());
|
||||
Katharsis_Controller_Plugin::registerPlugin(new Local_Controller_Plugin_IndexRedirect());
|
||||
Katharsis_Controller_Plugin::registerPlugin(new Katharsis_Controller_Plugin_Autorender());
|
||||
|
||||
Katharsis_Controller_Plugin::registerPlugin(new DidgeridooArtwork_Controller_Plugin_Access());
|
||||
|
|
@ -28,8 +28,9 @@ try {
|
|||
Katharsis_Bootstrap::run();
|
||||
} catch(Exception $e)
|
||||
{
|
||||
http_response_code(500);
|
||||
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