Commit e20db0b73011365c30812169c67ca300693b94cf
1 parent
69a02da7
Update properties script for windows.
Committed by: Jarrett Jordaan Reviewed by: Megan Watson
Showing
2 changed files
with
2 additions
and
2 deletions
setup/wizard/lib/services/unixLucene.php
| @@ -251,7 +251,7 @@ class unixLucene extends unixService { | @@ -251,7 +251,7 @@ class unixLucene extends unixService { | ||
| 251 | $content .= "server.deny=\n"; | 251 | $content .= "server.deny=\n"; |
| 252 | $conf = $this->util->getDataFromSession('configuration'); | 252 | $conf = $this->util->getDataFromSession('configuration'); |
| 253 | $varDirectory = $conf['paths']['varDirectory']['path']; | 253 | $varDirectory = $conf['paths']['varDirectory']['path']; |
| 254 | - $content .= "indexer.directory=$varDirectory" . DIRECTORY_SEPARATOR . "indexes\n"; | 254 | + $content .= "indexer.directory=$varDirectory" . DS . "indexes\n"; |
| 255 | $content .= "indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer\n"; | 255 | $content .= "indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer\n"; |
| 256 | fwrite($fp, $content); | 256 | fwrite($fp, $content); |
| 257 | fclose($fp); | 257 | fclose($fp); |
setup/wizard/lib/services/windowsLucene.php
| @@ -491,7 +491,7 @@ class windowsLucene extends windowsService { | @@ -491,7 +491,7 @@ class windowsLucene extends windowsService { | ||
| 491 | $content .= "server.deny=\n"; | 491 | $content .= "server.deny=\n"; |
| 492 | $conf = $this->util->getDataFromSession('configuration'); | 492 | $conf = $this->util->getDataFromSession('configuration'); |
| 493 | $varDirectory = $conf['paths']['varDirectory']['path']; | 493 | $varDirectory = $conf['paths']['varDirectory']['path']; |
| 494 | - $content .= "indexer.directory=$varDirectory" . DIRECTORY_SEPARATOR . "indexes\n"; | 494 | + $content .= "indexer.directory=$varDirectory" . DS . "indexes\n"; |
| 495 | $content .= "indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer\n"; | 495 | $content .= "indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer\n"; |
| 496 | fwrite($fp, $content); | 496 | fwrite($fp, $content); |
| 497 | fclose($fp); | 497 | fclose($fp); |