aboutsummaryrefslogblamecommitdiffstats
path: root/mod/pretheme.php
blob: 5a71bbe53e45168b8c99498254fe05f6e631da50 (plain) (tree)
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();
}