]> git.wh0rd.org - tt-rss.git/blobdiff - image.php
public: enable globalUpdateFeeds
[tt-rss.git] / image.php
index 49c3ec89b2bca4e93256a68cb9307641864d46e9..210bbc2f7f3342dae900a3bbd438ecc571d20ae2 100644 (file)
--- a/image.php
+++ b/image.php
@@ -1,6 +1,8 @@
 <?php
-// This should be modifed as your own use warrants.
+       set_include_path(get_include_path() . PATH_SEPARATOR . "include");
 
-require_once('../simplepie.inc');
-SimplePie_Misc::display_cached_file($_GET['i'], './cache', 'spi');
+       require_once "config.php";
+       require_once "lib/simplepie/simplepie.inc";
+
+       SimplePie_Misc::display_cached_file($_GET['i'], SIMPLEPIE_CACHE_DIR, 'spi');
 ?>