daemonCheck finds zmdc.pl via Configure::read

This commit is contained in:
Kyle Johnson 2014-11-21 21:42:21 +00:00
parent 0108f43cab
commit ffaa24d108
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class HostController extends AppController {
public $components = array('RequestHandler'); public $components = array('RequestHandler');
public function daemonCheck($daemon=false, $args=false) { public function daemonCheck($daemon=false, $args=false) {
$string = "`which zmdc.pl` check"; $string = Configure::read('ZM_PATH_BIN')."/zmdc.pl check";
if ( $daemon ) if ( $daemon )
{ {
$string .= " $daemon"; $string .= " $daemon";