Commit 1ddc3644239d9f47a3ad2bdb74523d8680429843
1 parent
81d5646f
TODO: On source only work
Committed by: Jarrett Jordaan Reviewed by: Prince Mbekwa
Showing
1 changed file
with
2 additions
and
9 deletions
setup/wizard/lib/services/windowsLucene.php
| @@ -392,15 +392,8 @@ class windowsLucene extends windowsService { | @@ -392,15 +392,8 @@ class windowsLucene extends windowsService { | ||
| 392 | * @return string | 392 | * @return string |
| 393 | */ | 393 | */ |
| 394 | public function getJavaJVM() { | 394 | public function getJavaJVM() { |
| 395 | - $path1 = "C:\Program Files\Zend\ktdms\java\jre\bin\client\jvm.dll"; | ||
| 396 | - $path2 = "C:\Program Files (x86)\Zend\ktdms\java\jre\bin\client\jvm.dll"; | ||
| 397 | - if(file_exists($path1)) { | ||
| 398 | - return $path1; | ||
| 399 | - } else if(file_exists($path2)) { | ||
| 400 | - return $path2; | ||
| 401 | - } | ||
| 402 | - // Hard code | ||
| 403 | - //return $this->javaJVM; | 395 | + return SYSTEM_ROOT . "java\jre\bin\client\jvm.dll"; // Hard code |
| 396 | + //return $this->javaJVM; // TODO: PUT BACK!!! | ||
| 404 | } | 397 | } |
| 405 | 398 | ||
| 406 | private function writeLuceneInstall($cmd) { | 399 | private function writeLuceneInstall($cmd) { |