Member
Member
sbillard   2007-09-12, 00:16
#1

mankind:

In doing my implementation of the database options I note that your google maps implementation instantiates foogle in functions.php. That presents a problem with options. When functions.php is first loaded the DB Options are not yet instantiated. So, you MUST put your apikey in zp-config.php.

If we could delay instantiation until, say class-gallery.php or better even template-functions.php, then the option can come from the database.

Member
Member
sbillard   2007-09-13, 07:54
#2

Never mind. atif311 & I got the code moved to a better location. atif311 verified the functions still work.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.