Изменил(а) на 'deploy.inc.php'

This commit is contained in:
Pavel Shevaev 2023-10-23 19:57:31 +03:00
parent 70cba8fd1a
commit 4d8389e6d7
1 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,9 @@
<?php <?php
namespace taskman; namespace taskman;
use Amp; use Amp;
use phpseclib\Crypt\RSA;
require_once('composer/vendor/autoload.php'); use phpseclib\Net\SSH2;
use phpseclib\Net\SCP;
$GLOBALS['DEPLOY_NODES'] = array(); $GLOBALS['DEPLOY_NODES'] = array();
$GLOBALS['DEPLOY_SSH_CONNS'] = array(); $GLOBALS['DEPLOY_SSH_CONNS'] = array();
@ -13,10 +14,6 @@ define('DEPLOY_OPT_SILENT', 4);
define('DEPLOY_OPT_IS_FILE', 8); define('DEPLOY_OPT_IS_FILE', 8);
define('DEPLOY_OPT_NO_CACHE', 16); define('DEPLOY_OPT_NO_CACHE', 16);
use phpseclib\Crypt\RSA;
use phpseclib\Net\SSH2;
use phpseclib\Net\SCP;
class DeployNode class DeployNode
{ {
public $name; public $name;