public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Allow Cacher URL excludes to be relative from the site URL.
vito (author)
Thu Nov 06 14:37:09 -0800 2008
commit  ced29d0f1d87fb1916a85d9c5a2bfd4a75e3257c
tree    ab193b11821694c68b708424e816fbcc923833c1
parent  48203516d0630d46d32b962f69edb8bae21353ef
...
20
21
22
 
 
 
 
23
24
25
...
20
21
22
23
24
25
26
27
28
29
0
@@ -20,6 +20,10 @@
0
 
0
             $config = Config::current();
0
             $config->cache_exclude = (array) $config->cache_exclude;
0
+
0
+            foreach ($config->cache_exclude as &$exclude)
0
+                if (substr($exclude, 7) != "http://")
0
+                    $exclude = $config->url."/".ltrim($exclude, "/");
0
         }
0
 
0
         static function __install() {

Comments