ComposerUpdate

This commit is contained in:
Anyon 2020-08-05 11:00:42 +08:00
parent 12f94b19e6
commit 8c1cdabd3c
4 changed files with 11 additions and 11 deletions

8
composer.lock generated
View File

@ -879,12 +879,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f" "reference": "a98a370bc0619346f72a753e920df6b659bfc48d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/8e1a13fd20d0a454ecccab056a0f6ebe477fe65f", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a98a370bc0619346f72a753e920df6b659bfc48d",
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f", "reference": "a98a370bc0619346f72a753e920df6b659bfc48d",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -928,7 +928,7 @@
], ],
"description": "ThinkPHP v6.0 Development Library", "description": "ThinkPHP v6.0 Development Library",
"homepage": "http://thinkadmin.top", "homepage": "http://thinkadmin.top",
"time": "2020-08-05T02:41:59+00:00" "time": "2020-08-05T02:56:06+00:00"
}, },
{ {
"name": "zoujingli/wechat-developer", "name": "zoujingli/wechat-developer",

View File

@ -903,12 +903,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f" "reference": "a98a370bc0619346f72a753e920df6b659bfc48d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/8e1a13fd20d0a454ecccab056a0f6ebe477fe65f", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a98a370bc0619346f72a753e920df6b659bfc48d",
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f", "reference": "a98a370bc0619346f72a753e920df6b659bfc48d",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -924,7 +924,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-08-05T02:41:59+00:00", "time": "2020-08-05T02:56:06+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"think": { "think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php <?php
// This file is automatically generated at:2020-08-05 10:46:09 // This file is automatically generated at:2020-08-05 11:00:24
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\admin\\Library', 0 => 'think\\admin\\Library',

View File

@ -73,8 +73,8 @@ class Library extends Service
$this->app->request->setPathinfo($_SERVER['argv'][1]); $this->app->request->setPathinfo($_SERVER['argv'][1]);
} }
} else { } else {
$isSess = $this->app->request->request('not_init_session', 0) > 0; $isSess = $this->app->request->request('not_init_session', 0) == 0;
$notYar = stripos($this->app->request->header('user-agent', ''), 'PHP Yar RPC-') !== false; $notYar = stripos($this->app->request->header('user-agent', ''), 'PHP Yar RPC-') === false;
if ($notYar && $isSess) { if ($notYar && $isSess) {
// 注册会话初始化中间键 // 注册会话初始化中间键
$this->app->middleware->add(SessionInit::class); $this->app->middleware->add(SessionInit::class);