mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	updated sample config file at end of script
This commit is contained in:
		
							parent
							
								
									96981b72c7
								
							
						
					
					
						commit
						f864fa7b8e
					
				@ -456,14 +456,12 @@ class EncryptTask extends AbstractTask {
 | 
				
			|||||||
		if (isset ( $this->mageConfig ['keeptemp'] )) {
 | 
							if (isset ( $this->mageConfig ['keeptemp'] )) {
 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		Console::log('Deleting tempory files :', 0);
 | 
							Console::log('Deleting tempory files :', 1);
 | 
				
			||||||
		$ret1 = $this->runCommandLocal ( 'rm -Rf ' . $this->ionSource, $out1 );
 | 
							$ret1 = Console::executeCommand ( 'rm -Rf ' . $this->ionSource, $out1 );
 | 
				
			||||||
		$ret2 = $this->runCommandLocal ( 'rm ' . $this->projectFile, $out2 );
 | 
							$ret2 = Console::executeCommand ( 'rm ' . $this->projectFile, $out2 );
 | 
				
			||||||
		if ($ret1 && $ret2) {
 | 
							if ($ret1 && $ret2) {
 | 
				
			||||||
			Console::log('OK',0);
 | 
					 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		Console::log('Failed!', 1);
 | 
					 | 
				
			||||||
		throw new ErrorWithMessageException ( 'Error deleting temp files :' . $out1 . ' : ' . $out2, 40 );
 | 
							throw new ErrorWithMessageException ( 'Error deleting temp files :' . $out1 . ' : ' . $out2, 40 );
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
@ -475,7 +473,7 @@ class EncryptTask extends AbstractTask {
 | 
				
			|||||||
	 */
 | 
						 */
 | 
				
			||||||
	private function runIonCube() {
 | 
						private function runIonCube() {
 | 
				
			||||||
		$cli = $this->encoder . ' --project-file ' . $this->projectFile . ' ' . $this->ionSource . DIRECTORY_SEPARATOR.'*';
 | 
							$cli = $this->encoder . ' --project-file ' . $this->projectFile . ' ' . $this->ionSource . DIRECTORY_SEPARATOR.'*';
 | 
				
			||||||
		$ret = $this->runCommandLocal ( $cli, $out );
 | 
							$ret = Console::executeCommand ( $cli, $out );
 | 
				
			||||||
		return $ret;
 | 
							return $ret;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
@ -586,11 +584,11 @@ class EncryptTask extends AbstractTask {
 | 
				
			|||||||
	 */
 | 
						 */
 | 
				
			||||||
	private function switchSrcToTmp() {
 | 
						private function switchSrcToTmp() {
 | 
				
			||||||
		//echo "\nSwitching :" . $this->source . " -> To :" . $this->ionSource."\n";
 | 
							//echo "\nSwitching :" . $this->source . " -> To :" . $this->ionSource."\n";
 | 
				
			||||||
		$ret = $this->runCommandLocal ( 'mv ' . $this->source . ' ' . $this->ionSource, $out );
 | 
							$ret = Console::executeCommand ( 'mv ' . $this->source . ' ' . $this->ionSource, $out );
 | 
				
			||||||
		if (! $ret) {
 | 
							if (! $ret) {
 | 
				
			||||||
			throw new ErrorWithMessageException ( 'Cant create tmp dir :' . $out, $ret );
 | 
								throw new ErrorWithMessageException ( 'Cant create tmp dir :' . $out, $ret );
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		$ret = $this->runCommandLocal ( 'mkdir -p ' . $this->source, $out );
 | 
							$ret = Console::executeCommand ( 'mkdir -p ' . $this->source, $out );
 | 
				
			||||||
		if (! $ret) {
 | 
							if (! $ret) {
 | 
				
			||||||
			throw new ErrorWithMessageException ( 'Cant re-create dir :' . $out, $ret );
 | 
								throw new ErrorWithMessageException ( 'Cant re-create dir :' . $out, $ret );
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
@ -817,51 +815,56 @@ tasks:
 | 
				
			|||||||
  on-deply:
 | 
					  on-deply:
 | 
				
			||||||
  post-deploy:
 | 
					  post-deploy:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        ioncube:
 | 
					ioncube:
 | 
				
			||||||
                override: dyf
 | 
						override: dyf
 | 
				
			||||||
                keeptemp:
 | 
						keeptemp:
 | 
				
			||||||
                encoder: ioncube_encoder54
 | 
						encoder: ioncube_encoder54
 | 
				
			||||||
                projfile: project.prj
 | 
						checkencoding: true
 | 
				
			||||||
                project:
 | 
						checkignorepaths:
 | 
				
			||||||
                        replace-target:
 | 
							-/public/js/*
 | 
				
			||||||
                        binary:
 | 
							-/public/css/*
 | 
				
			||||||
                        ignore-deprecated-warnings:
 | 
							
 | 
				
			||||||
                        ignore-strict-warnings:
 | 
						projfile: project.prj
 | 
				
			||||||
                        ignore:
 | 
						project:
 | 
				
			||||||
                                - _*
 | 
							replace-target:
 | 
				
			||||||
                                - templates_c/*
 | 
							binary:
 | 
				
			||||||
                                - *~
 | 
							ignore-deprecated-warnings:
 | 
				
			||||||
                                - database.md
 | 
							ignore-strict-warnings:
 | 
				
			||||||
                                - specs/
 | 
							ignore:
 | 
				
			||||||
                                - composer.json
 | 
								- _*
 | 
				
			||||||
                                - README.md
 | 
								- templates_c/*
 | 
				
			||||||
                                - .git/
 | 
								- *~
 | 
				
			||||||
                                - .project
 | 
								- database.md
 | 
				
			||||||
                                - .settings/
 | 
								- specs/
 | 
				
			||||||
                                - .buildpath
 | 
								- composer.json
 | 
				
			||||||
                        message-if-no-loader: "System error No Loader"
 | 
								- README.md
 | 
				
			||||||
                        passphrase: "My really secure passphrase"
 | 
								- .git/
 | 
				
			||||||
                        encrypt:
 | 
								- .project
 | 
				
			||||||
                                - templates/*
 | 
								- .settings/
 | 
				
			||||||
                        add-comment:
 | 
								- .buildpath
 | 
				
			||||||
                                - 'Comment 1'
 | 
							message-if-no-loader: "System error No Loader"
 | 
				
			||||||
                                - 'Comment 2'
 | 
							passphrase: "My really secure passphrase"
 | 
				
			||||||
                                - "(c) ACTweb 2013"
 | 
							encrypt:
 | 
				
			||||||
                                - "Draft Version"
 | 
								- templates/*
 | 
				
			||||||
 | 
							add-comment:
 | 
				
			||||||
 | 
								- 'Comment 1'
 | 
				
			||||||
 | 
								- 'Comment 2'
 | 
				
			||||||
 | 
								- "(c) ACTweb 2013"
 | 
				
			||||||
 | 
								- "Draft Version"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        loader-event:
 | 
							loader-event:
 | 
				
			||||||
                                - corrupt-file=Corupted files
 | 
								- corrupt-file=Corupted files
 | 
				
			||||||
                                - expired-file=System needs updated
 | 
								- expired-file=System needs updated
 | 
				
			||||||
                                - no-permissions=Not allowed on this server
 | 
								- no-permissions=Not allowed on this server
 | 
				
			||||||
                                - clock-skew=Time incorect
 | 
								- clock-skew=Time incorect
 | 
				
			||||||
                                - license-not-found=License not installed
 | 
								- license-not-found=License not installed
 | 
				
			||||||
                                - license-corrupt=Something wrong with your license
 | 
								- license-corrupt=Something wrong with your license
 | 
				
			||||||
                                - license-expired=Out of time
 | 
								- license-expired=Out of time
 | 
				
			||||||
                                - license-property-invalid=Invalid license data
 | 
								- license-property-invalid=Invalid license data
 | 
				
			||||||
                                - license-header-invalid=Files corupted
 | 
								- license-header-invalid=Files corupted
 | 
				
			||||||
                                - license-server-invalid=Server problem
 | 
								- license-server-invalid=Server problem
 | 
				
			||||||
                                - unauth-including-file=Sorry these files can only be used within defined software
 | 
								- unauth-including-file=Sorry these files can only be used within defined software
 | 
				
			||||||
                                - unauth-included-file=Crtical Software Error
 | 
								- unauth-included-file=Crtical Software Error
 | 
				
			||||||
                                - unauth-append-prepend-file=System can not be used with PHP Prepend/Append set
 | 
								- unauth-append-prepend-file=System can not be used with PHP Prepend/Append set
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EOEXAMPLE;
 | 
					EOEXAMPLE;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user