Commit c8b33eebbf1a3a8a4ad1d28ffeb4100eee494492

Authored by Kevin Fourie
1 parent 1789e883

KTS-3055

"OpenOffice service is not being detected by Dashlets on Vista"
Fixed. Seems Vista has no alias for localhost. We need to use 127.0.0.1

Committed By: Kevin Fourie
Reviewed By: Conrad Vermeulen

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8201 c91229c3-7414-0410-bfa2-8a42b809f60b
config/config.ini
... ... @@ -297,12 +297,12 @@ batchMigrateDocuments = default
297 297 luceneDirectory=${varDirectory}/indexes
298 298  
299 299 ; The url for the Java Lucene Server. This should match up the the Lucene Server configuration.
300   -; Defaults to http://localhost:8875
  300 +; Defaults to http://127.0.0.1:8875
301 301 javaLuceneURL = default
302 302  
303 303 [openoffice]
304 304 ; The host on which open office is installed
305   -; defaults to localhost
  305 +; defaults to 127.0.0.1
306 306 host = default
307 307  
308 308 ; The port on which open office is listening
... ... @@ -390,4 +390,4 @@ customerrormessages=on
390 390 ;name or url of custom error page
391 391 customerrorpagepath=customerrorpage.php
392 392 ;Turn custom error handler on or off
393   -customerrorhandler=on
394 393 \ No newline at end of file
  394 +customerrorhandler=on
... ...
config/dmsDefaults.php
... ... @@ -528,9 +528,9 @@ function catchFatalErrors($p_OnOff='On'){
528 528 $oKTConfig->setdefaultns('indexer', 'luceneDirectory', '${varDirectory}/indexes');
529 529 $oKTConfig->setdefaultns('indexer', 'extractorPath', '${indexingBasePath}/extractors');
530 530 $oKTConfig->setdefaultns('indexer', 'extractorHookPath', '${indexingBasePath}/extractorHooks');
531   - $oKTConfig->setdefaultns('indexer', 'javaLuceneURL', 'http://localhost:8875');
  531 + $oKTConfig->setdefaultns('indexer', 'javaLuceneURL', 'http://127.0.0.1:8875');
532 532  
533   - $oKTConfig->setdefaultns('openoffice', 'host', 'localhost');
  533 + $oKTConfig->setdefaultns('openoffice', 'host', '127.0.0.1');
534 534 $oKTConfig->setdefaultns('openoffice', 'port', 8100);
535 535  
536 536 $oKTConfig->setdefaultns('webservice', 'uploadDirectory', '${varDirectory}/uploads');
... ...