c88674aaf
1 2 3 4 5 6
<?php function pretheme_init(&$a) { if($_REQUEST['theme']) echo json_encode(array('img' => get_theme_screenshot($_REQUEST['theme']))); killme(); }