resolved ds store conflicts, added plugins
This commit is contained in:
parent
0941892470
commit
6ffd67045c
6 changed files with 22 additions and 17 deletions
|
|
@ -15,6 +15,7 @@ class Katharsis_Controller_Plugin_Autorender extends Katharsis_Controller_Plugin
|
|||
*/
|
||||
public function postController()
|
||||
{
|
||||
|
||||
$view = Katharsis_View::getInstance();
|
||||
|
||||
$view->controllerAction = false;
|
||||
|
|
@ -28,5 +29,8 @@ class Katharsis_Controller_Plugin_Autorender extends Katharsis_Controller_Plugin
|
|||
|
||||
$view = Katharsis_View::getInstance();
|
||||
echo $view->render('main');
|
||||
|
||||
var_dump($view->render('main'));
|
||||
die('');
|
||||
}
|
||||
}
|
||||
10
library/Katharsis/Controller/Plugin/StartSession.php
Normal file
10
library/Katharsis/Controller/Plugin/StartSession.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
class Katharsis_Controller_Plugin_StartSession extends Katharsis_Controller_Plugin_Abstract
|
||||
{
|
||||
public function preController()
|
||||
{
|
||||
session_write_close();
|
||||
session_start();
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue