Program Directory being set to local drive

4 posts by 2 authors in: Forums > CMS Builder
Last Post: June 9, 2011   (RSS)

By wendy - June 7, 2011

Hi,

My program directory path is set to "Z:/Sites/Localuser/(name)/cmsAdmin" and it's causing the code to be: $dirsToCheck = array('Z:/Sites/Localuser/(name)/','','../','../../','../../../');

How do I change the program directory path to be the server name?

Wendy

Re: [robin] Program Directory being set to local drive

By wendy - June 8, 2011

The program directory is being called out from a local drive so when the code is generated, it's creating errors on the page. I hand-changed the php code to set the directory to the server and the error was resolved but it seems odd that the directory is not set to where the program is installed on the server.

Re: [wendy] Program Directory being set to local drive

By robin - June 9, 2011

Hey Wendy,

I'm glad you got that fixed. It is strange that it causes you errors though. The software should move on to the next item in the "dirsToCheck" array if the path is not valid.

If you would like us to take a closer look you can fill out a [url http://www.interactivetools.com/support]2nd Level Support Request[/url].

Thanks,
Robin
Robin
Programmer
interactivetools.com