much friendlier get_theme_object
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1019 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -4,7 +4,7 @@ class Upload implements Extension {
|
||||
var $theme;
|
||||
// event handling {{{
|
||||
public function receive_event(Event $event) {
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object("upload", "UploadTheme");
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object($this);
|
||||
|
||||
$is_full = (disk_free_space(realpath("./images/")) < 100*1024*1024);
|
||||
|
||||
|
Reference in New Issue
Block a user