config.ini 11.8 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
; ----------------------------------------------------------------
; At a minimum, you may need to change some of settings in this
; db section.
; ----------------------------------------------------------------

[db]
; The Database Engine to use.  Currently mysql is the only
; supported type.
dbType = mysql

; Database login details
dbHost           = localhost
dbName           = dms
dbUser           = dms
dbPass           = djw9281js
dbPort           = default

dbAdminUser      = dmsadmin
dbAdminPass      = js9281djw

[KnowledgeTree]

; ----------------------------------------------------------------
; The options in this section should automatically be detected by
; KnowledgeTree.  Please DO NOT set these manually if you do not
; need to, as you may introduce errors in your system.
; ----------------------------------------------------------------


; install path (file path)
;
; Leave as default to have it automatically detected.
;
fileSystemRoot = default

; Webserver name (host name)
;
; Leave as default to have it automatically detected.
;
serverName = default

; Whether ssl is enabled or not
;
; Leave as default to have it automatically detected.
;
sslEnabled = default

; Path to the web application from the root of the web site.
; If KT is at http://example.org/foo/, then rootUrl should be '/foo'
;
; Leave as default to have it automatically detected.
;
rootUrl = default

; Whether the platform supports PATH_INFO or not.  Currently defaults to
; true, but later will attempt to determine somehow.
pathInfoSupport = default

; Where to look for binaries on your system.  This defaults to the path
; set for your web server, which works well for Unix-like systems, but
; may need some changing for Windows systems.
execSearchPath = default

; Use new Dashboard.
; Defaults to true
useNewDashboard = default

; Which level of logging to use.  DEBUG, INFO, WARN, ERROR
; Defaults to INFO
; logLevel = DEBUG

; The location of the mime magic file
; Defaults to /usr/share/file/magic
magicDatabase = default

; The interval in seconds between each iteration of the scheduler
schedulerInterval = 30

[dashboard]
; Display the "Your Checked-out Documents" dashlet even when empty.
; Defaults to false
alwaysShowYCOD = default

[storage]
; By default uses KTOnDiskHashedStorageManager
; manager = KTOnDiskHashedStorageManager
manager = default

[ui]
;OEM application name
;appName = ACME
; Enable Morph
;morphEnabled = 1
; Morph Theme
;morphTo = blue
; add the logo of your company to the site's appearance.
; this logo MUST be 50px tall, and on a white background.
companyLogo = ${rootUrl}/resources/companylogo.png
; the logo's width in pixels
companyLogoWidth = 313px
; ALT text - for accessibility purposes.
companyLogoTitle = ACME Corporation
; Main logo
;mainLogo = ${rootUrl}/resources/oemlogo.png
; the logo's width in pixels
;mainLogoWidth = 219px
; ALT text - for accessibility purposes.
;mainLogoTitle = ACME Knowledge Management Systems
; powered by kt logo
;powerLogo = ${rootUrl}/resources/powered-by-kt.png
; the logo's width in pixels
;powerLogoWidth = 130px
; ALT text - for accessibility purposes.
;powerLogoTitle = Powered by KnowledgeTree

; use the additional IE specific GIF theme overrides.
; using this means that arbitrary theme packs may not work without
; having GIF versions available.
; ieGIF = true
ieGIF = default

; do not restrict to searches (e.g. always show_all) on users and groups pages.
; alwaysShowAll = false
alwaysShowAll = default

; Set to true to automatically refresh the page after the session would
; have expired.
automaticRefresh = default

; use a condensed admin ui
condensedAdminUI = default

; allow "open" from downloads.  Changing this to "true" will prevent (most)
; browsers from giving users the "open" option.
; fakeMimetype = false
fakeMimetype = default

; "dot" command location
dot = dot

; sort the metadata fields alphabetically
metadata_sort = true

[i18n]
; Default language for the interface
defaultLanguage = en
; If your language doesn't have distinguishable words (usually, doesn't
; have a space character), set useLike to true to use a search that can
; deal with this, but which is slower.
useLike = default

[tweaks]
; If you want to enable PHP error logging to the log/php_error_log
; file, change the following to true
phpErrorLogFile = false

; Whether to browse to the user's (first) unit when first going to the
; browse section
browseToUnitFolder = default

; Whether bulk operations should generate a transaction notice on each
; item, or only on the folder.  Default of "false" indicates that only
; the folder transaction should occur.
noisyBulkOperations = false

[email]
; email settings
emailServer = none
emailPort = default

; do you need auth to connect to SMTP?
emailAuthentication = false
emailUsername = username
emailPassword = password

emailFrom = kt@example.org
emailFromName = KnowledgeTree Document Management System
; Set to true to allow users to send attachments from the document
; management system
allowAttachment = default
; Set to true to allow users to send to any email address, as opposed to
; only users of the system
allowEmailAddresses = default
; Set to true to always send email from the emailFrom address listed
; above, even if there is an identifiable sending user
sendAsSystem = default
; Set to true to only allow users to send emails to those in the same
; groups as them
onlyOwnGroups = default

[urls]
; directories
varDirectory = ${fileSystemRoot}/var
logDirectory = ${varDirectory}/log
documentRoot = ${varDirectory}/Documents
uiDirectory = ${fileSystemRoot}/presentation/lookAndFeel/knowledgeTree
tmpDirectory = ${varDirectory}/tmp


; urls
graphicsUrl = ${rootUrl}/graphics
uiUrl  = ${rootUrl}/presentation/lookAndFeel/knowledgeTree

;dedicated feed url
;dedicatedrsstitle = RSS Feed Title
;dedicatedrssurl =

; files
stopwordsFile = ${fileSystemRoot}/config/stopwords.txt

[webservice]
; Directory to which all uploads via webservices are persisted before moving into the repository
uploadDirectory = ${varDirectory}/uploads

; Url which is sent to clients via web service calls so they can then download file via HTTP GET
downloadUrl = ${rootUrl}/ktwebservice/download.php

; Period indicating how long a file should be retained in the uploads directory.
uploadExpiry = 30

; Period indicating how long a download link will be available
downloadExpiry = 30

; Random text used to construct a hash. This can be customised on installations so there is less chance of overlap between installations.
randomKeyText = bkdfjhg23yskjdhf2iu

; Validating session counts can interfere with access. It is best to leave this disabled, unless very strict access is required.
validateSessionCount = false

; If the document type is invalid when adding a document, we can be tollerant and just default to the Default document type.
useDefaultDocumentTypeIfInvalid = true

; The web service debugging if the logLevel is set to DEBUG. We can set the value to 4 or 5 to get more verbose web service logging.
; Level 4 logs the name of functions being accessed. Level 5 logs the SOAP XML requests and responses.
debug = false

[session]
; session timeout (in seconds)
sessionTimeout = 1200

; by default, do not auto-login users as anonymous.
; set this to true if you UNDERSTAND the security system that KT
; uses, and have sensibly applied the roles "Everyone" and "Authenticated Users".
allowAnonymousLogin = false

; Set to true to force sessions to come from the same IP address
; ipTracking = false

[import]
; unzip command - will use execSearchPath to find if the path to the
; binary is not given
unzip = unzip

[export]
; zip command - will use execSearchPath to find if the path to the
; binary is not given
zip = zip

; encoding to use in bulk export plugin
; default is set to UTF-8
; encoding = cp1252
encoding = default

[externalBinary]
; The following are external binaries that may be used by various parts of knowledgeTree.
xls2csv = xls2csv
pdftotext = pdftotext
catppt = catppt
pstotext = pstotext
catdoc = catdoc
antiword = antiword
python = python
java = java
php = php
df = df

[search]
; The number of results per page
; defaults to 25
resultsPerPage = default

; The format in which to display the results
; options are searchengine or browseview
; defaults to searchengine
resultsDisplayFormat = default

; The date format used when making queries using widgets
; defaults to Y-m-d
dateFormat = default

[browse]
; The document info box / preview is activated by mousing over or clicking on the icon
; Options: mouse-over (default); onclick
previewActivation = default

[indexer]
; The core indexing class
;coreClass=PHPLuceneIndexer
coreClass=JavaXMLRPCLuceneIndexer

; The number of documents to be indexed in a cron session
; defaults to 20
batchDocuments = default

; The number of documents to be migrated in a cron session
; defaults to 500
batchMigrateDocuments = default

; The location of the lucene indexes
luceneDirectory=${varDirectory}/indexes

; The url for the Java Lucene Server. This should match up the the Lucene Server configuration.
; Defaults to http://127.0.0.1:8875
javaLuceneURL = default

[openoffice]
; The host on which open office is installed
; defaults to 127.0.0.1
host = default

; The port on which open office is listening
; defaults to 8100
port = default

[user_prefs]
; minimum password length on password-setting
passwordLength = 6

; apply the minimum password length to admin while creating / editing accounts?
; default is set to "false" meaning that admins can create users with shorter passwords.
restrictAdminPasswords = default

; restrict users from accessing their preferences menus?
restrictPreferences = false


; This is configuration for the built-in authentication provider
[builtinauth]
;
; This would force users that use the built-in authentication provider
; to have to change their passwords every 30 days.
;
; password_change_interval = 30

[cache]
;
; enable/disable the cache and set the cache location
;
cacheEnabled = true
cacheDirectory = ${varDirectory}/cache
cachePlugins = true

[KTWebDAVSettings]
; This section is for KTWebDAV  only
; _LOTS_ of debug info will be logged if the following is "on"
debug = off
; To allow write access to WebDAV clients set safe mode to "off" below
safemode = on

[BaobabSettings]
; This section is for Baobab only
; _LOTS_ of debug info will be logged if the following is "on"
debug = off
; To allow write access to WebDAV clients set safe mode to "off" below
safemode = on

[backup]
; Identify location of kt-backup for database backups.
;backupDirectory=c:/kt-backups
;backupDirectory=/tmp/kt-backups

; Identify the location of the mysql.exe and mysqldump.exe
;mysqlDirectory=c:/program files/ktdms/mysql/bin

[clientToolPolicies]
;These two settings control whether or not the client is prompted for metadata when a
;document is added to knowledgetree via KTtools. They default to true.
explorerMetadataCapture = true
officeMetadataCapture = true
;These settings govern whether reasons are asked for in KTtools
captureReasonsDelete = true
captureReasonsCheckin = true
captureReasonsCheckout = true
captureReasonsCancelCheckout = true
captureReasonsCopyInKT = true
captureReasonsMoveInKT = true
;This setting governs whether the password can be stored on the client.
allowRememberPassword = true

; settings for the Disk Usage dashlet
[DiskUsage]
; When free space in a mount point is less than this percentage,
; the disk usage dashlet will will highlight the mount in ORANGE
warningThreshold=10

; When free space in a mount point is less than this percentage,
; the disk usage dashlet will will highlight the mount in RED
urgentThreshold=5

[CustomErrorMessages]
;Turn custom error messages on or off here.
customerrormessages=on
;name or url of custom error page.
customerrorpagepath=customerrorpage.php
;Turn custom error handler on or off.
;The custom error handler will log any non php errors caught
;by the custom error handler if it is turned on.
;Php errors are always logged by php itself.
customerrorhandler=on