Temporary fix for weather info from interceptvector
Sander Dalemans <[email protected]> Tue, 3 Jun 2003 23:52:20 +0200
| Newsgroups | gmane.comp.horde.jonah |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected]
--
Jonah mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]