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: RE
Try letting SERVER variables handle it first:soesom wrote:I'm glad to receive any hint...
Thanx in advance,
soesom
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";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";