forked from Cavemanon/cavepaintings
and make the extensions match
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1003 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -8,10 +8,10 @@
|
||||
* page is accessed via /home.
|
||||
*/
|
||||
|
||||
class Home extends Extension {
|
||||
class Home implements Extension {
|
||||
var $theme;
|
||||
|
||||
public function receive_event($event) {
|
||||
public function receive_event(Event $event) {
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object("home", "HomeTheme");
|
||||
|
||||
if(($event instanceof PageRequestEvent) && ($event->page_name == "home"))
|
||||
|
Reference in New Issue
Block a user