added some useful models and controllers
This commit is contained in:
parent
9bb724147e
commit
1d4b2a3314
44 changed files with 6424 additions and 0 deletions
13
library/DidgeridooArtwork/Controller/Plugin/Defaults.php
Normal file
13
library/DidgeridooArtwork/Controller/Plugin/Defaults.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
class DidgeridooArtwork_Controller_Plugin_Defaults extends Katharsis_Controller_Plugin_Abstract
|
||||
{
|
||||
public function preController()
|
||||
{
|
||||
$ini = parse_ini_file('config/defaults.config.ini', true);
|
||||
$registry = Katharsis_Registry::getInstance();
|
||||
$registry->defaults = $ini;
|
||||
|
||||
$view = Katharsis_View::getInstance();
|
||||
$view->defaults = $ini;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue