upload handlers have themes too...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1024 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -9,7 +9,7 @@ class FlashFileHandler implements Extension {
|
||||
var $theme;
|
||||
|
||||
public function receive_event(Event $event) {
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object("handle_flash", "FlashFileHandlerTheme");
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object($this);
|
||||
|
||||
if(($event instanceof DataUploadEvent) && $this->supported_ext($event->type) && $this->check_contents($event->tmpname)) {
|
||||
$hash = $event->hash;
|
||||
|
Reference in New Issue
Block a user