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

fixed php version in Install route

Piotr Labudda 9 лет назад
Родитель
Сommit
a50b8e1772
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      SE/se-lib/Route/Install.php

+ 2 - 3
SE/se-lib/Route/Install.php

@@ -211,8 +211,7 @@ jQuery(document).ready(function () {
 			V::exec($cmd, $out, $ret);
 			DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
 
-			// $cmd = "cd {$installPath}/SE && /Applications/SourceGuardian.app/Contents/MacOS/sgencoder --phpversion {$phpVersion} -b- ";
-			$cmd = "cd {$installPath}/SE && /Applications/SourceGuardian.app/Contents/MacOS/sgencoder -b- ";
+			$cmd = "cd {$installPath}/SE && /Applications/SourceGuardian.app/Contents/MacOS/sgencoder -b- ";// --phpversion {$phpVersion}
 			//$mac = '38:c9:86:31:80:77';
 			//$cmd .= " --mac {$mac}";
 			foreach ($appLicenceInfo->domains as $domain) {
@@ -278,7 +277,7 @@ jQuery(document).ready(function () {
 		}
 
 		{
-			$cmd = "cd {$installPath}/SE && /Applications/SourceGuardian.app/Contents/MacOS/sgencoder --phpversion {$phpVersion} -b- ";
+			$cmd = "cd {$installPath}/SE && /Applications/SourceGuardian.app/Contents/MacOS/sgencoder -b- ";// --phpversion {$phpVersion}
 			foreach ($appLicenceInfo->domains as $domain) {
 				$cmd .= " --domain {$domain} ";
 			}