friendica/mod/pretheme.php

7 lines
150 B
PHP
Raw Normal View History

2012-03-26 02:05:14 +00:00
<?php
function pretheme_init(&$a) {
if($_REQUEST['theme']) echo json_encode(array('img' => get_theme_screenshot($_REQUEST['theme'])));
killme();
}