fileSystemRoot = "/usr/local/www/dms"; // server settings $default->serverName = "change.to.your.hostname"; // whether ssl is enabled or not $default->sslEnabled = false; // Change this to reflect the authentication method you are using // valid choices are: DBAuthenticator, LDAPAuthenticator $default->authenticationClass = "DBAuthenticator"; require_once("$default->fileSystemRoot/lib/authentication/$default->authenticationClass.inc"); // Database info $default->dbHost = "localhost"; $default->dbName = "dms"; $default->dbUser = "dms"; $default->dbPass = "pass"; // Change this to reflect the database you are using //require("$default->fileSystemRoot/phplib/db_pgsql.inc"); require_once("$default->fileSystemRoot/phplib/db_mysql.inc"); // single db instantiation require_once("$default->fileSystemRoot/lib/database/db.inc"); $default->db = new Database(); // default language $default->defaultLanguage = "en"; $default->useAcceptLanguageHeader = false; // instantiate system settings class require_once("$default->fileSystemRoot/lib/database/lookup.inc"); require_once("$default->fileSystemRoot/lib/System.inc"); $default->system = new System(); // hack to set org to use for dashboard greeting $default->organisationID = 1; // Scrolling News (true/false). // Note: This makes use of the MARQUEE HTML tag. This tag is not fully supported in // all web browsers. It is generally safe for most web browsers (IE/Gecko-based). // Only enable this if you are sure that this will not adversely // effect your clients. // $default->scrollingNews = true; $default->scrollingNews = false; if ($default->system->initialised()) { $aSettings = $default->system->aSettings; for ($i=0; $i$aSettings[$i] = $default->system->get($aSettings[$i]); } } else { // ldap settings $default->ldapServer = "192.168.1.9"; $default->ldapRootDn = "o=Organisation"; // current supported types=iPlanet, ActiveDirectory; $default->ldapServerType = "iPlanet"; $default->ldapDomain = "domain.com"; $default->ldapSearchUser = "searchUser@domain.com"; $default->ldapSearchPassword = "pwd"; // email settings $default->emailServer = "mail.domain.com"; $default->emailFrom = "kt@domain.com"; $default->emaiFromName = "KnowledgeTree Document Management System"; $default->emailAdmin = "kt@jamwarehouse.com"; $default->emailAdminName = "DMS Administrator"; // directories $default->documentRoot = $default->fileSystemRoot . "/Documents"; $default->uiDirectory = $default->fileSystemRoot . "/presentation/lookAndFeel/knowledgeTree"; // urls $default->rootUrl = ""; $default->graphicsUrl = $default->rootUrl . "/graphics"; $default->uiUrl = $default->rootUrl . "/presentation/lookAndFeel/knowledgeTree"; // session timeout (in seconds) $default->sessionTimeout = 1200; // add javascript content pane scrolling arrows $default->contentPaneScrolling = true; } ?>