mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
12f94b19e6
commit
8c1cdabd3c
8
composer.lock
generated
8
composer.lock
generated
@ -879,12 +879,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f"
|
||||
"reference": "a98a370bc0619346f72a753e920df6b659bfc48d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/8e1a13fd20d0a454ecccab056a0f6ebe477fe65f",
|
||||
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a98a370bc0619346f72a753e920df6b659bfc48d",
|
||||
"reference": "a98a370bc0619346f72a753e920df6b659bfc48d",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -928,7 +928,7 @@
|
||||
],
|
||||
"description": "ThinkPHP v6.0 Development Library",
|
||||
"homepage": "http://thinkadmin.top",
|
||||
"time": "2020-08-05T02:41:59+00:00"
|
||||
"time": "2020-08-05T02:56:06+00:00"
|
||||
},
|
||||
{
|
||||
"name": "zoujingli/wechat-developer",
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -903,12 +903,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f"
|
||||
"reference": "a98a370bc0619346f72a753e920df6b659bfc48d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/8e1a13fd20d0a454ecccab056a0f6ebe477fe65f",
|
||||
"reference": "8e1a13fd20d0a454ecccab056a0f6ebe477fe65f",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a98a370bc0619346f72a753e920df6b659bfc48d",
|
||||
"reference": "a98a370bc0619346f72a753e920df6b659bfc48d",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -924,7 +924,7 @@
|
||||
"ext-json": "*",
|
||||
"topthink/framework": "^6.0"
|
||||
},
|
||||
"time": "2020-08-05T02:41:59+00:00",
|
||||
"time": "2020-08-05T02:56:06+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"think": {
|
||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
||||
<?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);
|
||||
return array (
|
||||
0 => 'think\\admin\\Library',
|
||||
|
@ -73,8 +73,8 @@ class Library extends Service
|
||||
$this->app->request->setPathinfo($_SERVER['argv'][1]);
|
||||
}
|
||||
} else {
|
||||
$isSess = $this->app->request->request('not_init_session', 0) > 0;
|
||||
$notYar = stripos($this->app->request->header('user-agent', ''), 'PHP Yar RPC-') !== false;
|
||||
$isSess = $this->app->request->request('not_init_session', 0) == 0;
|
||||
$notYar = stripos($this->app->request->header('user-agent', ''), 'PHP Yar RPC-') === false;
|
||||
if ($notYar && $isSess) {
|
||||
// 注册会话初始化中间键
|
||||
$this->app->middleware->add(SessionInit::class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user