theme preview for end users
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
function pretheme_init(&$a) {
|
||||
if($_REQUEST['theme']) echo json_encode(array('img' => get_theme_screenshot($_REQUEST['theme'])));
|
||||
killme();
|
||||
}
|
||||
Reference in New Issue
Block a user