Use zenphoto without global variables?

Dear ZenPhoto Folks,

First of all, I'd like to say Thank You! for a really nice product with a refreshingly clean interface, and an easy install (I'm a LONGTIME Gallery user, btw).

I'd like to integrate zenphoto with a substantial application that I've built using an MVC called CodeIgniter.

I've already seen instructions for "including" zenphoto functionality (random photos, etc) inside of an existing application, and also instructions for building a my-site-look-alike-wrapper around zenphoto.

Unfortunately, neither of these approaches work for my application, and I need to integrate it within the CodeIgniter framework. I've already accomplished this, and I can execute the zenphoto code as it sites within my application.

The problem I'm running into is that security-conscious code frameworks(like CodeIgniter) actively prevent use of global variables, which keeps zenphoto from working at all. Is there a way to run zenphoto without global variables, or would every function in zenphoto have to be modified to do this?

Thanks in advance for your reply!

Comments

  • Sorry, you are out of luck if you can't use global variables. Zenphoto depends on them to functions.
Sign In or Register to comment.