summaryrefslogtreecommitdiffstats
path: root/common/postload.php
diff options
context:
space:
mode:
Diffstat (limited to 'common/postload.php')
-rw-r--r--common/postload.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/postload.php b/common/postload.php
new file mode 100644
index 0000000..8f18678
--- /dev/null
+++ b/common/postload.php
@@ -0,0 +1,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();