Browse Source

fixed encode files instalator and Install route

Piotr Labudda 8 years ago
parent
commit
2ad12895b6
2 changed files with 12 additions and 0 deletions
  1. 11 0
      SE/se-lib/Route/Install.php
  2. 1 0
      SE/superedit-INSTALL_SES_PROCESY_A.php

+ 11 - 0
SE/se-lib/Route/Install.php

@@ -303,6 +303,8 @@ jQuery(document).ready(function () {
 			$skipPhpFiles[] = 'se-lib/RouteBase.php';
 			$skipPhpFiles[] = 'se-lib/HttpException.php';
 			$skipPhpFiles[] = 'se-lib/DebugExecutionTime.php';
+			$skipPhpFiles[] = 'se-lib/UI.php';
+			$skipPhpFiles[] = 'se-lib/Request.php';
 
 			$cmd = "cd {$installPath}/SE && find . -name '*.php' ";
 			$out = ''; $ret = '';
@@ -487,6 +489,15 @@ jQuery(document).ready(function () {
 		//$this->menu($args['licence_id']);// TODO: GO BACK BTN
 		try {
 			$appLicenceInfo = $this->getAppLicenceInfo($args['licence_id']);
+
+			// TODO: if (59 ) => baratosz.sledz - na lokalnym kompie
+			// bn:~/$ scp -r SE server@192.168.61.153:~/se.encrypted.upgrade
+			// remote SE.git = '/Users/bartoszsledz/Desktop/production-se'
+			// remote:~/$ mv SE ~/SE.bup.2017-07-03
+			// remote:~/$ mv ~/se.encrypted.upgrade/SE SE
+			// remote:~/$ cp -r ~/SE.bup.2017-07-03/config SE/
+			// remote:~/$ sudo chown -R bartoszsledz:staff SE/
+
 			$this->_sendToRemoteTestDir($appLicenceInfo);
 			echo "Test online: ";
 			echo UI::h('a', ['target'=>"_blank", 'href'=>"https://{$appLicenceInfo->mainServer}/se.encrypted.upgrade/"], "https://{$appLicenceInfo->mainServer}/se.encrypted.upgrade/");

+ 1 - 0
SE/superedit-INSTALL_SES_PROCESY_A.php

@@ -2389,6 +2389,7 @@ function MAKE_PKG_COMPONENT($h,$installer_dir_tar,$installer_url,$installer_tmp,
 				$skipPhpFiles[] = 'WindykacjaZestawienia.php';
 				$skipPhpFiles[] = 'superedit-DB_PROCEDURES_CREATE.php';
 				$skipPhpFiles[] = 'UI.php';
+				$skipPhpFiles[] = 'Request.php';
 
 				$skipFilesSgencoder = (!empty($skipPhpFiles)) ? ' -x ' . implode(' -x ', $skipPhpFiles) : '';