resolved ds store conflicts, added plugins
This commit is contained in:
parent
0941892470
commit
6ffd67045c
6 changed files with 22 additions and 17 deletions
|
@ -27,8 +27,6 @@ class IndexController extends Katharsis_Controller_Abstract
|
|||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_view->someVariableName = 'Katharsis';
|
||||
echo $this->_view->render('welcome');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,15 +1 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Swiss Didgeridoo Artwork - Schweizer Holz Didgeridoo bester Qualität</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style/main.css" />
|
||||
<link rel="shortcut icon" href="/img/leafs/favicon.ico" type="image/x-icon" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<meta name="Description" content="Bei uns findest du alles rund ums Didgeridoo - Qualitäts Instrumente aus einheimischen Hölzern - Taschen - Mundstücke - Musik - Konzertkalender - Unterricht -Therapie - Clapstick - Trommel Reparaturen - Diverse Links" />
|
||||
<meta name="keywords" content="Didgeridoo, Didjeridoo, Yidaki, Clapstick, Mundstück, Holzblasinstrument, Australisches Instrument, Didgeridoo Reparaturen, Didgeridoo Konzert, Trommel Reparaturen, Didgeridoo Unterricht, Zirkularatmung, Rhythmus Didgeridoo" />
|
||||
</head>
|
||||
<body id="index">
|
||||
<a href="<?php echo $this->base ?>/page/home" title="Klick!" alt="Willkommensbild">
|
||||
<img src="<?php echo $this->base ?>/img/leafs/index.png" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
THIS IS SPARTA
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -12,8 +12,15 @@ chdir('..');
|
|||
require_once('library/Katharsis/Bootstrap.php');
|
||||
Katharsis_Autoload::init();
|
||||
|
||||
|
||||
//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 Katharsis_Controller_Plugin_Autorender());
|
||||
|
||||
Katharsis_Controller_Plugin::registerPlugin(new DidgeridooArtwork_Controller_Plugin_Access());
|
||||
//Katharsis_Controller_Plugin::registerPlugin(new DidgeridooArtwork_Controller_Plugin_Navigation());
|
||||
|
||||
|
||||
try {
|
||||
Katharsis_Bootstrap::run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue