Skip to content

Commit

Permalink
增加空判
Browse files Browse the repository at this point in the history
  • Loading branch information
evalor committed Sep 7, 2018
1 parent 44de5f7 commit 9600baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/easyswoole
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function serverStart($options)
{
showLogo();
$conf = Conf::getInstance();
if ($options['e']) {
if (isset($options['e'])) {
$confPath = file_exists($options['e']) ? $options['e'] : EASYSWOOLE_ROOT . '/' . ucfirst($options['e']) . '.php';
$conf->loadFile($confPath, true);
}
Expand Down

0 comments on commit 9600baa

Please sign in to comment.