改名
This commit is contained in:
@@ -72,8 +72,7 @@ abstract class Callback extends HttpService
|
|||||||
* @param $data
|
* @param $data
|
||||||
* @param $reID
|
* @param $reID
|
||||||
* @return Request
|
* @return Request
|
||||||
* @throws ReflectionException
|
* @throws Exception
|
||||||
* @throws NotFindClassException
|
|
||||||
*/
|
*/
|
||||||
protected function _request($fd, $data, $reID): Request
|
protected function _request($fd, $data, $reID): Request
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ class Command extends \Console\Command
|
|||||||
if (!in_array($dtl->get('action'), self::ACTIONS)) {
|
if (!in_array($dtl->get('action'), self::ACTIONS)) {
|
||||||
return 'I don\'t know what I want to do.';
|
return 'I don\'t know what I want to do.';
|
||||||
}
|
}
|
||||||
if (!file_exists(storage('runtime.php'))) {
|
|
||||||
exec(PHP_BINARY . ' snowflake runtime:builder');
|
exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder');
|
||||||
}
|
|
||||||
/** @var Shutdown $shutdown */
|
/** @var Shutdown $shutdown */
|
||||||
$shutdown = Snowflake::app()->get('shutdown');
|
$shutdown = Snowflake::app()->get('shutdown');
|
||||||
if ($shutdown->isRunning() && $dtl->get('action') == 'start') {
|
if ($shutdown->isRunning() && $dtl->get('action') == 'start') {
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ class Shutdown extends Component
|
|||||||
/**
|
/**
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @return bool
|
* @return bool
|
||||||
* @throws ConfigException
|
|
||||||
*/
|
*/
|
||||||
public function directoryCheck(string $path): bool
|
public function directoryCheck(string $path): bool
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user