Skip to content

Commit

Permalink
版本更新
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jan 11, 2019
1 parent 7c1b587 commit c255c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// | Author: liu21st <[email protected]>
// +----------------------------------------------------------------------

define('THINK_VERSION', '5.0.23');
define('THINK_VERSION', '5.0.24');
define('THINK_START_TIME', microtime(true));
define('THINK_START_MEM', memory_get_usage());
define('EXT', '.php');
Expand Down
1 change: 1 addition & 0 deletions library/think/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ public function method($method = false)
} else {
$this->method = 'POST';
}
unset($_POST[Config::get('var_method')]);
} elseif (isset($_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE'])) {
$this->method = strtoupper($_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE']);
} else {
Expand Down

1 comment on commit c255c22

@yuxiaokui
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不活了不活了

Please sign in to comment.