Skip to content

Commit

Permalink
修复常量重复定义BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
lifei6671 committed Mar 6, 2017
1 parent f65d6b3 commit 55c5ed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/VersionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct()
public function handle()
{

$this->info('SmartWiki ' . VERSION);
$this->info('SmartWiki ' . SmartWikiVersion);

return true;
}
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

define('VERSION','v1.0.0-beta.0');
header('SmartWiki:'.VERSION);
define('SmartWikiVersion','v1.0.0-beta.0');
header('SmartWiki:'.SmartWikiVersion);

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 55c5ed4

Please sign in to comment.