Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

GinaW on "zp-config.php code in the root directory"

$
0
0

hi,

I took the code from the zp-config.php file and pasted it into a php file called zp-config-root.php. I placed this file in the root directory so it wasnt accessible from the web.

I then changed the code in the zp-config.php file to be just an include tag pointing to the zp-config-root.php file.

it works fine on the zenphoto index page, however as soon as I click onto an album i get an error saying that the path is invalid, failed to open stream.

I know you can do this easily with Worpress by simply dumping the wp-config.php file anywhere and the system scans for the location of this file, no need for redirects or includes.

Any advice?


Viewing all articles
Browse latest Browse all 2917

Trending Articles