Explorar o código

updated Install - bash_install_check todo

Piotr Labudda %!s(int64=9) %!d(string=hai) anos
pai
achega
612429798a
Modificáronse 1 ficheiros con 5 adicións e 4 borrados
  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__);
 		DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
 		if (0 !== $ret) throw new Exception("Cannot run remote command as root! #{$ret}");
 		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) {
 	public function _assertRsaKeyExists($appLicenceInfo) {