Commit a9c80c36db02bdcceb8f21071e0c9601e7238f3c

Authored by Jarrett Jordaan
1 parent 0d571b5a

Update properties script for windows.

Committed by: Jarrett Jordaan

Reviewed by: Megan Watson
setup/wizard/lib/services/unixLucene.php
@@ -243,7 +243,7 @@ class unixLucene extends unixService { @@ -243,7 +243,7 @@ class unixLucene extends unixService {
243 */ 243 */
244 private function writeLuceneProperties() { 244 private function writeLuceneProperties() {
245 // Check if bin is readable and writable 245 // Check if bin is readable and writable
246 - $fileLoc = $this->getluceneDir()."KnowledgeTreeIndexer.properties"; 246 + $fileLoc = $this->getluceneDir(). "KnowledgeTreeIndexer.properties";
247 $fp = fopen($fileLoc, "w+"); 247 $fp = fopen($fileLoc, "w+");
248 $content = "server.port=8875\n"; 248 $content = "server.port=8875\n";
249 $content .= "server.paranoid=false\n"; 249 $content .= "server.paranoid=false\n";
setup/wizard/lib/services/windowsLucene.php
@@ -483,7 +483,7 @@ class windowsLucene extends windowsService { @@ -483,7 +483,7 @@ class windowsLucene extends windowsService {
483 */ 483 */
484 private function writeLuceneProperties() { 484 private function writeLuceneProperties() {
485 // Check if bin is readable and writable 485 // Check if bin is readable and writable
486 - $fileLoc = $this->getluceneDir()."KnowledgeTreeIndexer.properties"; 486 + $fileLoc = $this->getluceneDir(). DS ."KnowledgeTreeIndexer.properties";
487 $fp = fopen($fileLoc, "w+"); 487 $fp = fopen($fileLoc, "w+");
488 $content = "server.port=8875\n"; 488 $content = "server.port=8875\n";
489 $content .= "server.paranoid=false\n"; 489 $content .= "server.paranoid=false\n";