Skip to content

Commit

Permalink
Update InfoCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vlssu committed Apr 5, 2024
1 parent 33c80be commit d277c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/InfoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function handle()

$this->output->title('应用配置');
$this->table([], [
['环境', $this->formatText($this->config->get('app.env'), $this->config->get('app.env') === 'production' ?: 'bg=red')],
['环境', $this->formatText($this->config->get('app.env'), $this->config->get('app.env') === '生产' ?: 'bg=red')],
['是否处于调试模式', $this->formatText($this->config->get('app.debug') ? '' : '', !$this->config->get('app.debug') ?: 'bg=red')],
['安装 URL', $this->config->get('app.url')],
['安装路径', base_path()],
Expand Down

0 comments on commit d277c07

Please sign in to comment.