Skip to content

Commit

Permalink
版本变更
Browse files Browse the repository at this point in the history
  • Loading branch information
yf committed Nov 2, 2018
1 parent b06a7f1 commit 4367a6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/easyswoole.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public static function showHelpForReload()

public static function showHelp()
{
$version = \EasySwoole\EasySwoole\SysConst::VERSION;
$version = \EasySwoole\EasySwoole\SysConst::EASYSWOOLE_VERSION;
echo <<<DEFAULTHELP
\n欢迎使用为API而生的\e[32m easySwoole\e[0m 框架 当前版本: \e[34m{$version}\e[0m
Expand Down Expand Up @@ -207,7 +207,7 @@ public static function showHelp()
Install::showTag('daemonize', $daemonize);
Install::showTag('swoole version', phpversion('swoole'));
Install::showTag('php version', phpversion());
Install::showTag('EasySwoole ', \EasySwoole\EasySwoole\SysConst::VERSION);
Install::showTag('EasySwoole ', \EasySwoole\EasySwoole\SysConst::EASYSWOOLE_VERSION);
Install::showTag('run mode', $mode);
\EasySwoole\EasySwoole\Core::getInstance()->start();
break;
Expand Down
2 changes: 1 addition & 1 deletion src/SysConst.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class SysConst
{
const VERSION = '3.0.5';
const EASYSWOOLE_VERSION = '3.0.6';
const ERROR_HANDLER = 'ERROR_HANDLER';
const SHUTDOWN_FUNCTION = 'SHUTDOWN_FUNCTION';

Expand Down

0 comments on commit 4367a6e

Please sign in to comment.