![]() |
|
SERVERPATH resolution when accessing from outside directory - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: SERVERPATH resolution when accessing from outside directory (/thread-54.html) |
SERVERPATH resolution when accessing from outside directory - mikeg - 29-09-2005 I am trying to implement the 'Random Image' hack described on the forums and I seem to be having a problem with the path resolution. I'm using 0.9. Basically, zenphoto works great for my site when I enter via the zenphoto/zen/index.php page. However, if I try to access any zenphoto objects/classes from a directory outside of zenphoto, my paths do not resolve correctly. My .htaccess file is in the zenphoto directory, and not the root web directory. I tried boosting it up to the root, but then all of zenphoto complained. Any thoughts? SERVERPATH resolution when accessing from outside directory - trisweb - 29-09-2005 Ah, yeah, that is true. If you want, you can manually set the server and web paths at the bottom of the config.php file for now... I'll work out a fix for that for the next release... |