04-14-2011, 10:14 PM
Hi,
I am going to edit the inc.setting.php accoding to the online doc:
Configure letoDMS Settings for database & directory
◦
7. Edit the <path to letoDMS>/inc/inc.Settings.php to match your preference and settings$_rootDir = "path to where letoDMS is located";
$_httpRoot = "relative path to URL for letoDMS";
$_contentDir = "path to directory created in step 3 above";
$_ADOdbPath = "path to ADODB";
$_dbHostname = "hostname of database";
$_dbDatabase = "name of created database";
$_dbUser = "created user for database";
$_dbPass = "user password for database";
however, when I open edit the file, I can't find the parameter
$_tmp = dirname($_SERVER['SCRIPT_FILENAME']);
if(is_link($_tmp)) {
$_arr = preg_split('/\//', $_tmp);
array_pop($_arr);
include(implode('/', $_arr)."/conf/conf.Settings.php");
} else {
include("../conf/conf.Settings.php");
}
?>
anything I am missing or wrong?
Thanks,
NAthan
I am going to edit the inc.setting.php accoding to the online doc:
Configure letoDMS Settings for database & directory
◦
7. Edit the <path to letoDMS>/inc/inc.Settings.php to match your preference and settings$_rootDir = "path to where letoDMS is located";
$_httpRoot = "relative path to URL for letoDMS";
$_contentDir = "path to directory created in step 3 above";
$_ADOdbPath = "path to ADODB";
$_dbHostname = "hostname of database";
$_dbDatabase = "name of created database";
$_dbUser = "created user for database";
$_dbPass = "user password for database";
however, when I open edit the file, I can't find the parameter
$_tmp = dirname($_SERVER['SCRIPT_FILENAME']);
if(is_link($_tmp)) {
$_arr = preg_split('/\//', $_tmp);
array_pop($_arr);
include(implode('/', $_arr)."/conf/conf.Settings.php");
} else {
include("../conf/conf.Settings.php");
}
?>
anything I am missing or wrong?
Thanks,
NAthan