瀏覽代碼

updated Install - bash_install_check todo

Piotr Labudda 9 年之前
父節點
當前提交
612429798a
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      SE/se-lib/Route/Install.php

+ 5 - 4
SE/se-lib/Route/Install.php

@@ -606,10 +606,11 @@ exit 0
 		DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
 		if (0 !== $ret) throw new Exception("Cannot run remote command as root! #{$ret}");
 
-		$cmd = "/usr/bin/php /Library/Server/Web/Data/Sites/Default/SE/bash_install_check.php";
-		V::execRootRemote($appLicenceInfo->mainServer, $appLicenceInfo->rootLogin, $appLicenceInfo->rootPassword, $cmd, $out, $ret, $appLicenceInfo->sshPort);
-		DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
-		if (0 !== $ret) throw new Exception("Cannot run remote command as root! #{$ret}");
+		// TODO: SE/bash_install_check.php requires $domain!
+		// $cmd = "/usr/bin/php /Library/Server/Web/Data/Sites/Default/SE/bash_install_check.php {$domain}";
+		// V::execRootRemote($appLicenceInfo->mainServer, $appLicenceInfo->rootLogin, $appLicenceInfo->rootPassword, $cmd, $out, $ret, $appLicenceInfo->sshPort);
+		// DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
+		// if (0 !== $ret) throw new Exception("Cannot run remote command as root! #{$ret}");
 	}
 
 	public function _assertRsaKeyExists($appLicenceInfo) {