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 | 251 | $content .= "server.deny=\n"; |
| 252 | 252 | $conf = $this->util->getDataFromSession('configuration'); |
| 253 | 253 | $varDirectory = $conf['paths']['varDirectory']['path']; |
| 254 | - $content .= "indexer.directory=$varDirectory" . DIRECTORY_SEPARATOR . "indexes\n"; | |
| 254 | + $content .= "indexer.directory=$varDirectory" . DS . "indexes\n"; | |
| 255 | 255 | $content .= "indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer\n"; |
| 256 | 256 | fwrite($fp, $content); |
| 257 | 257 | fclose($fp); | ... | ... |
setup/wizard/lib/services/windowsLucene.php
| ... | ... | @@ -491,7 +491,7 @@ class windowsLucene extends windowsService { |
| 491 | 491 | $content .= "server.deny=\n"; |
| 492 | 492 | $conf = $this->util->getDataFromSession('configuration'); |
| 493 | 493 | $varDirectory = $conf['paths']['varDirectory']['path']; |
| 494 | - $content .= "indexer.directory=$varDirectory" . DIRECTORY_SEPARATOR . "indexes\n"; | |
| 494 | + $content .= "indexer.directory=$varDirectory" . DS . "indexes\n"; | |
| 495 | 495 | $content .= "indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer\n"; |
| 496 | 496 | fwrite($fp, $content); |
| 497 | 497 | fclose($fp); | ... | ... |