<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ goto xS75z; suBTO: function shell_echo_success($axEh6) { echo "[32m>>>>> INFO  : {$axEh6} [0m\n"; } goto gZM2S; gZM2S: function shell_echo_info($axEh6) { echo "[36m>>>>> INFO  : {$axEh6} [0m\n"; } goto hKbO4; pLmr7: function shell_module_path($WQ9HU, $vanIz) { return join('/', array(rtrim(shell_module_base(), '/'), $WQ9HU, $vanIz)); } goto xNboY; qAGu7: function shell_command_check($fWYdy) { @exec($fWYdy, $LqrPH, $Gs3Xd); return $Gs3Xd === 0; } goto QrAVs; hKbO4: function shell_throws_if($axEh6, $QnSoE) { if ($QnSoE) { shell_echo_error($axEh6); die(-1); } } goto qAGu7; cohVz: function shell_module_base() { return realpath(__DIR__ . '/../..'); } goto pLmr7; eN0zp: function shell_echo_block($axEh6) { goto uFR2y; uFR2y: echo '
[33m'; goto i25WW; uNwWz: echo sprintf('| %-79s|', $axEh6) . '
'; goto swEv6; GTGta: echo '[0m'; goto P_Sxy; swEv6: echo ' ' . str_repeat('-', 80) . '
'; goto GTGta; i25WW: echo ' ' . str_repeat('-', 80) . '
'; goto uNwWz; P_Sxy: } goto N6uy9; xNboY: function shell_ensure_dir($DlTOm) { if (!file_exists($DlTOm)) { mkdir($DlTOm, 493, true); } } goto eN0zp; xS75z: include __DIR__ . '/../../../vendor/modstart/modstart/src/Core/Util/PlatformUtil.php'; goto p0LpQ; N6uy9: function shell_echo_error($axEh6) { echo "[31m>>>>> ERROR : {$axEh6} [0m\n"; } goto suBTO; p0LpQ: include __DIR__ . '/../../../vendor/modstart/modstart/src/Core/Util/ReUtil.php'; goto cohVz; QrAVs: function shell_file_write($QS9PT, $eTwx_) { goto m3e6n; HV4cX: if (!file_exists($DlTOm)) { mkdir($DlTOm, 493, true); } goto TyQ94; m3e6n: $DlTOm = dirname($QS9PT); goto HV4cX; TyQ94: file_put_contents($QS9PT, $eTwx_); goto D65Lh; D65Lh: }