diff options
Diffstat (limited to 'mod/pretheme.php')
-rw-r--r-- | mod/pretheme.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/pretheme.php b/mod/pretheme.php new file mode 100644 index 000000000..5a71bbe53 --- /dev/null +++ b/mod/pretheme.php @@ -0,0 +1,6 @@ +<?php + +function pretheme_init(&$a) { + if($_REQUEST['theme']) echo json_encode(array('img' => get_theme_screenshot($_REQUEST['theme']))); + killme(); +} |