summaryrefslogtreecommitdiff
path: root/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'image.php')
-rw-r--r--image.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/image.php b/image.php
index 49c3ec89b..6bed38b7c 100644
--- a/image.php
+++ b/image.php
@@ -1,6 +1,6 @@
<?php
-// This should be modifed as your own use warrants.
+ require_once "config.php";
+ require_once "simplepie/simplepie.inc";
-require_once('../simplepie.inc');
-SimplePie_Misc::display_cached_file($_GET['i'], './cache', 'spi');
+ SimplePie_Misc::display_cached_file($_GET['i'], SIMPLEPIE_CACHE_DIR, 'spi');
?>