From db4354306245c26116595a72f40d7a4b57cbf14f Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Thu, 7 Aug 2003 15:17:38 +0000 Subject: [PATCH] added copyright and gpl notice genericised environment information --- config/environment.php | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/config/environment.php b/config/environment.php index e7564cc..5f20ed7 100644 --- a/config/environment.php +++ b/config/environment.php @@ -1,16 +1,28 @@ fileSystemRoot = "/usr/local/www/owl/dms"; +$default->fileSystemRoot = "/usr/local/www/dms"; // server settings $default->serverName = "change.to.your.hostname"; // whether ssl is enabled or not @@ -21,10 +33,10 @@ $default->authenticationClass = "DBAuthenticator"; require_once("$default->fileSystemRoot/lib/authentication/$default->authenticationClass.inc"); // Database info -$default->dbUser = "dms"; -$default->dbPass = "djw9281js"; $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"); @@ -39,7 +51,7 @@ 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 +// hack to set org to use for dashboard greeting $default->organisationID = 1; if ($default->system->initialised()) { @@ -57,7 +69,7 @@ if ($default->system->initialised()) { } else { // ldap settings $default->ldapServer = "192.168.1.9"; - $default->ldapRootDn = "o=Medical Research Council"; + $default->ldapRootDn = "o=Organisation"; // current supported types=iPlanet, ActiveDirectory; $default->ldapServerType = "iPlanet"; $default->ldapDomain = "domain.com"; @@ -65,10 +77,10 @@ if ($default->system->initialised()) { $default->ldapSearchPassword = "pwd"; // email settings - $default->emailServer = "mail.jamwarehouse.com"; - $default->emailFrom = "dms@jamwarehouse.com"; - $default->emaiFromName = "MRC Document Management System"; - $default->emailAdmin = "dmsHelp@jamwarehouse.com"; + $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 @@ -77,7 +89,7 @@ if ($default->system->initialised()) { $default->uiDirectory = $default->fileSystemRoot . "/presentation/lookAndFeel/knowledgeTree"; // urls - $default->rootUrl = "/dms"; + $default->rootUrl = ""; $default->graphicsUrl = $default->rootUrl . "/graphics"; $default->uiUrl = $default->rootUrl . "/presentation/lookAndFeel/knowledgeTree"; @@ -88,4 +100,4 @@ if ($default->system->initialised()) { // session timeout (in seconds) $default->sessionTimeout = 1200; } -?> +?> \ No newline at end of file -- libgit2 0.21.4