Commit 7b3ae03223f098da66a3c11777d71812a6ea3c16
1 parent
87d14008
Backslashes replaced with forward in Lucene Properties file
Committed by: Paul Barrett Reviewed by: Megan Watson
Showing
1 changed file
with
1 additions
and
2 deletions
setup/wizard/lib/services/windowsLucene.php
| ... | ... | @@ -491,9 +491,8 @@ 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" . DS . "indexes\n"; | |
| 495 | 494 | // on Windows the path needs to be escaped or the Java Lucene code cannot understand it |
| 496 | - $content .= "indexer.directory=" . str_replace('\\', '\\\\', $varDirectory . DS . "indexes") . "\n"; | |
| 495 | + $content .= "indexer.directory=" . str_replace('\\', '/', $varDirectory . DS . "indexes") . "\n"; | |
| 497 | 496 | fwrite($fp, $content); |
| 498 | 497 | fclose($fp); |
| 499 | 498 | chmod($fileLoc, 0644); | ... | ... |