From 1ddc3644239d9f47a3ad2bdb74523d8680429843 Mon Sep 17 00:00:00 2001 From: Jarrett Jordaan Date: Tue, 10 Nov 2009 17:28:40 +0200 Subject: [PATCH] TODO: On source only work --- setup/wizard/lib/services/windowsLucene.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/setup/wizard/lib/services/windowsLucene.php b/setup/wizard/lib/services/windowsLucene.php index 040f634..52b517f 100644 --- a/setup/wizard/lib/services/windowsLucene.php +++ b/setup/wizard/lib/services/windowsLucene.php @@ -392,15 +392,8 @@ class windowsLucene extends windowsService { * @return string */ public function getJavaJVM() { - $path1 = "C:\Program Files\Zend\ktdms\java\jre\bin\client\jvm.dll"; - $path2 = "C:\Program Files (x86)\Zend\ktdms\java\jre\bin\client\jvm.dll"; - if(file_exists($path1)) { - return $path1; - } else if(file_exists($path2)) { - return $path2; - } - // Hard code - //return $this->javaJVM; + return SYSTEM_ROOT . "java\jre\bin\client\jvm.dll"; // Hard code + //return $this->javaJVM; // TODO: PUT BACK!!! } private function writeLuceneInstall($cmd) { -- libgit2 0.21.4