Commit 1aa474fbe214bfbb524b7c07210ea1d3019cc94b

Authored by Neil Blakey-Milner
1 parent dd0abba9

Remove old-style configuration mechanism


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3521 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 0 additions and 143 deletions
config/environment.php deleted
1 -<?php  
2 -/**  
3 - * $Id$  
4 - *  
5 - * Defines KnowledgeTree application environment settings.  
6 - */  
7 -  
8 -// ----------------------------------------------------------------  
9 -// When entering paths in this file, use the Unix-style '/' path  
10 -// separator, not the Windows-style '\' path separator.  
11 -//  
12 -// So, if you want to refer to C:\Web\KnowledgeTree\Documents,  
13 -// use:  
14 -// C:/Web/KnowledgeTree/Documents  
15 -// ----------------------------------------------------------------  
16 -  
17 -// ----------------------------------------------------------------  
18 -// The options in this section should automatically be detected by  
19 -// KnowledgeTree. Please DO NOT set these manually if you do not  
20 -// need to, as you may introduce errors in your system.  
21 -// ----------------------------------------------------------------  
22 -  
23 -// install path (file path)  
24 -//  
25 -// Leave commented to have it automatically detected.  
26 -//  
27 -// $default->fileSystemRoot = "";  
28 -  
29 -// Webserver name (host name)  
30 -//  
31 -// Leave commented to have it automatically detected.  
32 -//  
33 -// $default->serverName = "";  
34 -  
35 -// Whether ssl is enabled or not  
36 -//  
37 -// Leave commented to have it automatically detected.  
38 -//  
39 -//$default->sslEnabled = false;  
40 -  
41 -// Path to the web application from the root of the web site.  
42 -// If KT is at http://example.org/foo/, then rootUrl should be '/foo'  
43 -//  
44 -// Leave commented to have it automatically detected.  
45 -//  
46 -//$default->rootUrl = "";  
47 -  
48 -// ----------------------------------------------------------------  
49 -// At a minimum, you may need to change some of settings in this  
50 -// section.  
51 -// ----------------------------------------------------------------  
52 -  
53 -// The Database Engine to use. Currently mysql is the only  
54 -// supported type.  
55 -$default->dbType = "mysql";  
56 -  
57 -// Database login details  
58 -$default->dbHost = "localhost";  
59 -$default->dbName = "dms";  
60 -$default->dbUser = "dms";  
61 -$default->dbPass = "djw9281js";  
62 -  
63 -$default->dbAdminUser = "dmsadmin";  
64 -$default->dbAdminPass = "js9281djw";  
65 -  
66 -// ----------------------------------------------------------------  
67 -// This section is for more esoteric settings.  
68 -// ----------------------------------------------------------------  
69 -  
70 -// Change this to reflect the authentication method you are using  
71 -// valid choices are: DBAuthenticator, LDAPAuthenticator  
72 -$default->authenticationClass = "DBAuthenticator";  
73 -  
74 -// Enable hiding of folders that are not accessible  
75 -$default->folderHidingFlag = 1;  
76 -  
77 -// Default language for the interface  
78 -$default->defaultLanguage = "en";  
79 -$default->useAcceptLanguageHeader = true;  
80 -  
81 -// hack to set org to use for dashboard greeting  
82 -$default->organisationID = 1;  
83 -  
84 -// Scrolling News (true/false).  
85 -// Note: This makes use of the MARQUEE HTML tag. This tag is not fully supported in  
86 -// all web browsers. It is generally safe for most web browsers (IE/Gecko-based).  
87 -// Only enable this if you are sure that this will not adversely  
88 -// effect your clients.  
89 -// $default->scrollingNews = true;  
90 -$default->scrollingNews = false;  
91 -  
92 -// If you don't require all documents to have all their generic metadata  
93 -// filled in, then set $default->genericMetaDataRequired = false;  
94 -$default->genericMetaDataRequired = true;  
95 -  
96 -// If you want to enable PHP error logging to the log/php_error_log  
97 -// file, uncomment the next line:  
98 -// $default->phpErrorLogFile = true;  
99 -  
100 -// If you want your users to go to the root folder rather than their  
101 -// unit folder, uncomment the next line:  
102 -// $default->browseToRoot = true;  
103 -  
104 -// ----------------------------------------------------------------  
105 -// WARNING: Settings below here may be overridden if using database  
106 -// configuration  
107 -//  
108 -// To enable database configuration, uncomment the next command:  
109 -//  
110 -// $default->useDatabaseConfiguration = true;  
111 -//  
112 -// ----------------------------------------------------------------  
113 -  
114 -// ldap settings  
115 -$default->ldapServer = "192.168.1.9";  
116 -$default->ldapRootDn = "o=Organisation";  
117 -// current supported types=iPlanet, ActiveDirectory;  
118 -$default->ldapServerType = "iPlanet";  
119 -$default->ldapDomain = "domain.com";  
120 -$default->ldapSearchUser = "searchUser@domain.com";  
121 -$default->ldapSearchPassword = "pwd";  
122 -  
123 -// email settings  
124 -$default->emailServer = "localhost";  
125 -$default->emailFrom = "kt@" . $default->serverName;  
126 -$default->emaiFromName = "KnowledgeTree Document Management System";  
127 -$default->emailAdmin = "kt@" . $default->serverName;  
128 -$default->emailAdminName = "DMS Administrator";  
129 -  
130 -// directories  
131 -$default->documentRoot = $default->fileSystemRoot . "/Documents";  
132 -$default->uiDirectory = $default->fileSystemRoot . "/presentation/lookAndFeel/knowledgeTree";  
133 -  
134 -// urls  
135 -$default->graphicsUrl = $default->rootUrl . "/graphics";  
136 -$default->uiUrl = $default->rootUrl . "/presentation/lookAndFeel/knowledgeTree";  
137 -  
138 -// session timeout (in seconds)  
139 -$default->sessionTimeout = 1200;  
140 -// add javascript content pane scrolling arrows  
141 -$default->contentPaneScrolling = false;  
142 -  
143 -?>