LetoDMS Community Forum
inc.Setting.php - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Installation Problems (https://community.letodms.com/forumdisplay.php?fid=9)
+--- Thread: inc.Setting.php (/showthread.php?tid=291)



inc.Setting.php - nathanl - 04-14-2011

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


RE: inc.Setting.php - Doudoux - 04-14-2011

Hi

This documentation is for letoDMS 2.xx

If you use letoDMS 3.0, settings parameters are in conf/conf.Settings.php file (you can use conf/conf.Settings.php.template file to create it).

doudoux



RE: inc.Setting.php - vvaldon - 04-15-2011

(04-14-2011, 10:14 PM)nathanl Wrote: 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

Hi Nathan,

I suggest to look into the conf.Settings.php located at the ...letoDMS/conf folder.

Regards,

vvaldon