Index: mythplugins/mythweb/includes/data_dir.php
===================================================================
--- mythplugins/mythweb/includes/data_dir.php (revision 16978)
+++ mythplugins/mythweb/includes/data_dir.php (working copy)
@@ -24,6 +24,7 @@
// New hard-coded cache directory
define('cache_dir', 'data/cache');
+ define('cache_url', root.cache_dir.'/');
// Make sure the image cache path exists and is writable
if (!is_dir(cache_dir) && !mkdir(cache_dir, 0755)) {
Index: mythplugins/mythweb/modules/weather/tmpl/default/weather.am.php
===================================================================
--- mythplugins/mythweb/modules/weather/tmpl/default/weather.am.php (revision 16978)
+++ mythplugins/mythweb/modules/weather/tmpl/default/weather.am.php (working copy)
@@ -32,7 +32,7 @@
echo "imageTotal = ". $matches[2] .";\n";
for ($i=0; $i<$matches[2]; $i++) {
echo "images[$i] = new Image();\n";
- echo "images[$i].src = \"/". cache_dir ."/". $matches[1] ."-$i\";\n";
+ echo "images[$i].src = \"". cache_url . $matches[1] ."-$i\";\n";
}
?>
function nextFrame (inc) {
@@ -68,7 +68,7 @@
?>
output += ' Faster
'
- output += '" alt="Animation" onload="setTimeout(\'animate()\', delay)">'
+ output += '" alt="Animation" onload="setTimeout(\'animate()\', delay)">'
output += ''
document.write(output);
Index: mythplugins/mythweb/modules/weather/tmpl/default/weather.sm.php
===================================================================
--- mythplugins/mythweb/modules/weather/tmpl/default/weather.sm.php (revision 16978)
+++ mythplugins/mythweb/modules/weather/tmpl/default/weather.sm.php (working copy)
@@ -27,7 +27,7 @@