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: [wendy] Program Directory being set to local drive

By robin - June 8, 2011

Hey Wendy,

What is the problem you're having with the program directory?

The program directory is set automatically to where the software is installed. The program directory and server name have different functions and shouldn't be the same.

http://www.interactivetools.com/docs/cmsbuilder/general_settings.html

Thanks,
Robin
Robin
Programmer
interactivetools.com

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.