[jonah] Temporary fix for weather info from interceptvector

Sander Dalemans sander at gamerszone.nl
Tue Jun 3 14:52:20 PDT 2003


Hey,

I made a temporary fix for the weather information from Interceptvector. Maybe
it isn't the best way to do this but is works. Edit the following file:
horde/jonah/lib/Jonah.php

Search for (around line number 396):

if (!@fwrite($fp, $xmlFile)) {

And add this before it:

$xmlFile = ereg_replace("<\?xml version=\"1.0\"\?>(.*)<weather>", "<?xml
version=\"1.0\"?>\n<weather>", $xmlFile);

It works for me, I hope you can use it :)..



With kind regards,

Sander Dalemans
e: sander at gamerszone.nl


More information about the jonah mailing list