friendica/mod/pretheme.php

7 lines
150 B
PHP
Raw Normal View History

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