Page 1 of 1

RE

Posted: Thu 13. Apr 2006, 19:50
by soesom
Hi, here is the posting from my conf.inc.php file:

// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = ""; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"


I'm glad to receive any hint...

Thanx in advance,
soesom

Re: RE

Posted: Thu 13. Apr 2006, 22:45
by DeXXus
soesom wrote:I'm glad to receive any hint...

Thanx in advance,
soesom
Try letting SERVER variables handle it first:

Code: Select all

// site values
$phpwcms["site"]              = "http://".$_SERVER['SERVER_NAME']."/";

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "phpwcms_1.2.5-DEV";
-OR- maybe YOU need to specify:

Code: Select all

// site values
$phpwcms["site"]              = "http://www.yourdomain.com/";

// paths
$phpwcms["DOC_ROOT"]          = '/srv/www/htdocs';
$phpwcms["root"]              = "phpwcms_1.2.5-DEV";

Posted: Fri 14. Apr 2006, 12:32
by Pappnase