Просмотр исходного кода

updated Install - bash_install_check todo

Piotr Labudda 9 лет назад
Родитель
Сommit
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) {