[jonah] Where is Weather??

Eric Rostetter eric.rostetter at physics.utexas.edu
Tue Oct 14 10:59:03 PDT 2003


Quoting Guil Barros <listmail at metathusalan.com>:

> i figure i need to do a number of things:
>  - change the jonah/prefs.php interface so as to ask for a zip code instead
> of
> the pulldowns when using $conf['weather']['driver'] == ejse. what do i need
> to
> include to be able to see $conf though?

Not sure what you mean, but maybe you just want a:

global $conf;

in there before you use it?

>  - change jonah/lib/weather.php to know that when we are using ejse it doesnt
> have to grab data from jonah/config/weather.php but just use the zip code.

Sounds like a pretty simple if/then/else kind of thing, no?  Once you have
access to $conf[] of course...

> thanks,
> -guil

Not sure if I was helpful, but...

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the jonah mailing list