cleaned up structure, fixed bugs

This commit is contained in:
Logsol 2013-07-08 22:14:56 +02:00
parent 9119550d1c
commit 1979f850f9
6 changed files with 74 additions and 6 deletions

View file

@ -9,6 +9,11 @@
*/
abstract class Katharsis_Controller_Plugin_Abstract
{
public function __construct()
{
$this->_con = Katharsis_DatabaseConnector::getConnection();
}
/**
* Overwrite this method, if you want something to be processed
* _before_ the controller is called

View file

@ -29,8 +29,5 @@ class Katharsis_Controller_Plugin_Autorender extends Katharsis_Controller_Plugin
$view = Katharsis_View::getInstance();
echo $view->render('main');
var_dump($view->render('main'));
die('');
}
}