Commit 8cbb8aff1191b9d0fc1b03a03c649b140a447363

Authored by nbm
1 parent e3b519a0

Default database password to that in user.sql. Default mail server to

localhost.  Default mail addresses to kt@$servername.  Expand warning
about not setting things manually.  Rewrite some descriptive comments.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3367 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 11 additions and 10 deletions
config/environment.php
... ... @@ -23,7 +23,8 @@
23 23  
24 24 // ----------------------------------------------------------------
25 25 // The options in this section should automatically be detected by
26   -// KnowledgeTree.
  26 +// KnowledgeTree. Please DO NOT set these manually if you do not
  27 +// need to, as you may introduce errors in your system.
27 28 // ----------------------------------------------------------------
28 29  
29 30 // install path (file path)
... ... @@ -56,15 +57,15 @@
56 57 // section.
57 58 // ----------------------------------------------------------------
58 59  
59   -// Change this to reflect the database you are using
60   -// currently mysql is the only supported type
  60 +// The Database Engine to use. Currently mysql is the only
  61 +// supported type.
61 62 $default->dbType = "mysql";
62 63  
63   -// Database info
  64 +// Database login details
64 65 $default->dbHost = "localhost";
65 66 $default->dbName = "dms";
66 67 $default->dbUser = "dms";
67   -$default->dbPass = "pass";
  68 +$default->dbPass = "djw9281js";
68 69  
69 70 // ----------------------------------------------------------------
70 71 // This section is for more esoteric settings.
... ... @@ -74,10 +75,10 @@ $default->dbPass = "pass";
74 75 // valid choices are: DBAuthenticator, LDAPAuthenticator
75 76 $default->authenticationClass = "DBAuthenticator";
76 77  
77   -// enable folder hiding flag
  78 +// Enable hiding of folders that are not accessible
78 79 $default->folderHidingFlag = 1;
79 80  
80   -// default language
  81 +// Default language for the interface
81 82 $default->defaultLanguage = "en";
82 83 $default->useAcceptLanguageHeader = true;
83 84  
... ... @@ -124,10 +125,10 @@ $default->ldapSearchUser = "searchUser@domain.com";
124 125 $default->ldapSearchPassword = "pwd";
125 126  
126 127 // email settings
127   -$default->emailServer = "mail.domain.com";
128   -$default->emailFrom = "kt@domain.com";
  128 +$default->emailServer = "localhost";
  129 +$default->emailFrom = "kt@" . $default->serverName;
129 130 $default->emaiFromName = "KnowledgeTree Document Management System";
130   -$default->emailAdmin = "kt@jamwarehouse.com";
  131 +$default->emailAdmin = "kt@" . $default->serverName;
131 132 $default->emailAdminName = "DMS Administrator";
132 133  
133 134 // directories
... ...