_rootDir; // -------------------------------- Database-Setup -------------------------------------------- //Path to adodb. This is the directory containing the adodb directory var $_ADOdbPath = "/var/www/letoDMS-1.10/"; //DB-Driver used by adodb (see adodb-readme) var $_dbDriver = "mysql"; //DB-Server var $_dbHostname = "localhost"; //database where the tables for mydms are stored (optional - see adodb-readme) var $_dbDatabase = "letodms"; //username for database-access var $_dbUser = "letodms"; //password for database-access var $_dbPass = "letodms"; // -------------------------------- LDAP Authentication Setup -------------------------------------------- // var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com // var $_ldapPort = 389; // Optional. // var $_ldapBaseDN = ""; function Settings() { //files with one of the following endings will be converted with the given commands //for windows users $this->_convertFileTypes = array(".doc" => "cscript \"" . $this->_rootDir."op/convert_word.js\" {SOURCE} {TARGET}", ".xls" => "cscript \"".$this->_rootDir."op/convert_excel.js\" {SOURCE} {TARGET}", ".ppt" => "cscript \"".$this->_rootDir."op/convert_pp.js\" {SOURCE} {TARGET}"); // For linux users // $this->_convertFileTypes = array(".doc" => "mswordview -o {TARGET} {SOURCE}"); } } $settings = new Settings(); ?>