friendica/mod/pretheme.php

7 lines
150 B
PHP
Raw Normal View History

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