Index: modules/weather/tmpl/default/weather.am.php
===================================================================
--- modules/weather/tmpl/default/weather.am.php (Revision 18340)
+++ modules/weather/tmpl/default/weather.am.php (Arbeitskopie)
@@ -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 = \ getcwd() . "/". cache_dir ."/". $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: modules/weather/tmpl/default/weather.sm.php
===================================================================
--- modules/weather/tmpl/default/weather.sm.php (Revision 18340)
+++ modules/weather/tmpl/default/weather.sm.php (Arbeitskopie)
@@ -27,7 +27,7 @@