summaryrefslogtreecommitdiffstats
path: root/common/postload.php
blob: 8f1867824cf5c0f45f26887b6c33af486fc3ec3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
include_once(dirname(__FILE__).'/app/app.php');

$Planet->addPerson(
    new PlanetFeed(
        '',
        htmlspecialchars_decode($_GET['url'], ENT_QUOTES),
        ''
    )
);

//Load feeds
$Planet->download(1);
header("Content-type: image/png");
readfile(dirname(__FILE__)."/custom/img/feed.png");
die();