summaryrefslogtreecommitdiff
path: root/image.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-26 05:00:30 +0100
committerAndrew Dolgov <[email protected]>2007-08-26 05:00:30 +0100
commitbc0f07856012aa94eaea7c409e720d73f2fba0c3 (patch)
treed7f6c1b7ea87b14660a5af2b7f69168bb53e087a /image.php
parentfb67e2ba58b08f150c383664c0b6796d56254d5d (diff)
enable caching of images
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');
?>