dir/mod/pretheme.php
2012-03-25 19:05:14 -07:00

7 lines
150 B
PHP

<?php
function pretheme_init(&$a) {
if($_REQUEST['theme']) echo json_encode(array('img' => get_theme_screenshot($_REQUEST['theme'])));
killme();
}