Splitting up the Zen Photos

I want to split up the Zen Photo system so that the admin is in a protected directory with my own admin system, (will not be touching zen admin system) and need to know if I have the structure correct.

The index.php, albums dir, cache dir and themes should be in their own directory

Admin files should be zen, .htaccess in my admin directory

Is this correct or will I break a lot of paths?

Comments

  • I'm not quite sure what you are attempting to accomplish with this setup. If you are going for more security, it may break more things and make it needlessly complicated. It also may make upgrades later more difficult, as the next versions that will come will surely stick to the same pathing as the 1.0.3 version.
  • trisweb Administrator
    Yeah, why the heck would you do that?

    FYI there are a lot of important files in `/zen/` - the admin section is only `/zen/admin.php`. Just move that...

    What you're doing is naturally breaking a lot of paths... I think you answered your own question.
  • trisweb Administrator
    Ah, unless I gather correctly from your title that you're trying to run several albums off the same installation. Kinda cool :-)

    I'd think of it rather as having separate `albums/` folders and splitting them up. It'd be much better if you planned it out, modified the `Gallery` class, and did it right. But I might be wrong about what you're trying to do...
  • I think to be on safe site I'll keep it as it is.
  • trisweb Administrator
    Sounds like a good plan ;-)
Sign In or Register to comment.