From 5e9d78d12bbdfcc942f7ec369dc5e05146e357dc Mon Sep 17 00:00:00 2001 From: Jarrett Jordaan Date: Thu, 10 Sep 2009 13:56:52 +0200 Subject: [PATCH] Story Id:778902 Disabled Services --- setup/wizard/lib/services/unixLucene.php | 1 + setup/wizard/lib/services/unixOpenOffice.php | 1 + setup/wizard/lib/services/unixScheduler.php | 1 + setup/wizard/output/outJV | 1 - setup/wizard/resources/wizard.js | 8 ++++---- 5 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 setup/wizard/output/outJV diff --git a/setup/wizard/lib/services/unixLucene.php b/setup/wizard/lib/services/unixLucene.php index 18b959e..f85e63d 100644 --- a/setup/wizard/lib/services/unixLucene.php +++ b/setup/wizard/lib/services/unixLucene.php @@ -180,6 +180,7 @@ class unixLucene extends unixService { public function start() { $state = $this->status(); + return ; if($state != 'STARTED') { $cmd = "cd ".$this->getLuceneDir()."; "; $cmd .= "nohup java -jar ".$this->getLuceneSource()." > ".SYS_LOG_DIR."lucene.log 2>&1 & echo $!"; diff --git a/setup/wizard/lib/services/unixOpenOffice.php b/setup/wizard/lib/services/unixOpenOffice.php index 51a0820..352bdc7 100644 --- a/setup/wizard/lib/services/unixOpenOffice.php +++ b/setup/wizard/lib/services/unixOpenOffice.php @@ -125,6 +125,7 @@ class unixOpenOffice extends unixService { public function start() { $state = $this->status(); + return ; if($state != 'STARTED') { $cmd = "nohup {$this->getBin()} ".$this->getOption()." > ".SYS_LOG_DIR."{$this->getLog()} 2>&1 & echo $!"; $response = $this->util->pexec($cmd); diff --git a/setup/wizard/lib/services/unixScheduler.php b/setup/wizard/lib/services/unixScheduler.php index e3613b4..d3e912f 100644 --- a/setup/wizard/lib/services/unixScheduler.php +++ b/setup/wizard/lib/services/unixScheduler.php @@ -150,6 +150,7 @@ class unixScheduler extends unixService { function start() { // TODO : Write sh on the fly? Not sure the reasoning here $source = $this->getSchedulerSourceLoc(); + return ; if($source) { // Source $cmd = "nohup ".$source." > ".SYS_LOG_DIR."scheduler.log 2>&1 & echo $!"; $response = $this->util->pexec($cmd); diff --git a/setup/wizard/output/outJV b/setup/wizard/output/outJV deleted file mode 100644 index 1d95854..0000000 --- a/setup/wizard/output/outJV +++ /dev/null @@ -1 +0,0 @@ -sh: -version: not found diff --git a/setup/wizard/resources/wizard.js b/setup/wizard/resources/wizard.js index 2619302..02777fb 100644 --- a/setup/wizard/resources/wizard.js +++ b/setup/wizard/resources/wizard.js @@ -5,12 +5,12 @@ function wizard() { // Does a form check on every new page load wizard.prototype.doFormCheck = function() { w.addReadOnly(); - w.load(); + w.preload(); } // Toggle Advance Database options -wizard.prototype.toggleClass = function(el, option) { - var el = document.getElementsByClassName(el); //adv_options|php_details|php_ext_details|php_con_details +wizard.prototype.toggleClass = function(ele, option) { + var el = document.getElementsByClassName(ele); //adv_options|php_details|php_ext_details|php_con_details if(el[0].style.display == 'none') { el[0].style.display = 'block'; if(document.getElementById(option).innerHTML != '  Advanced Options') @@ -279,6 +279,6 @@ wizard.prototype.addReadOnly = function() { } /* */ -wizard.prototype.load = function() { +wizard.prototype.preload = function() { // $('#tooltips').tooltip(); } \ No newline at end of file -- libgit2 0.21.4