ComposerUpdate

This commit is contained in:
Anyon 2020-01-11 15:52:22 +08:00
parent 160f2cc88f
commit ecf8073ae6
4 changed files with 10 additions and 10 deletions

8
composer.lock generated
View File

@ -909,12 +909,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "373ab0c31fc4247e9f71ecb86bf5f1e6e0dadea5" "reference": "88d74e6f666cc23103da97e8e2307ecc5db1b031"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/373ab0c31fc4247e9f71ecb86bf5f1e6e0dadea5", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/88d74e6f666cc23103da97e8e2307ecc5db1b031",
"reference": "373ab0c31fc4247e9f71ecb86bf5f1e6e0dadea5", "reference": "88d74e6f666cc23103da97e8e2307ecc5db1b031",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -958,7 +958,7 @@
], ],
"description": "ThinkPHP v6.0 Development Library", "description": "ThinkPHP v6.0 Development Library",
"homepage": "http://framework.thinkadmin.top", "homepage": "http://framework.thinkadmin.top",
"time": "2020-01-11T07:36:56+00:00" "time": "2020-01-11T07:50:11+00:00"
}, },
{ {
"name": "zoujingli/wechat-developer", "name": "zoujingli/wechat-developer",

View File

@ -935,12 +935,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "373ab0c31fc4247e9f71ecb86bf5f1e6e0dadea5" "reference": "88d74e6f666cc23103da97e8e2307ecc5db1b031"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/373ab0c31fc4247e9f71ecb86bf5f1e6e0dadea5", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/88d74e6f666cc23103da97e8e2307ecc5db1b031",
"reference": "373ab0c31fc4247e9f71ecb86bf5f1e6e0dadea5", "reference": "88d74e6f666cc23103da97e8e2307ecc5db1b031",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -956,7 +956,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-01-11T07:36:56+00:00", "time": "2020-01-11T07:50:11+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-01-11 15:43:21 // This file is automatically generated at:2020-01-11 15:52:12
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\app\\Service', 0 => 'think\\app\\Service',

View File

@ -38,7 +38,7 @@ class LocalStorage extends Storage
$type = strtolower(sysconf('storage.local_http_protocol')); $type = strtolower(sysconf('storage.local_http_protocol'));
if ($type === 'path') { if ($type === 'path') {
$file = $this->app->request->baseFile(false); $file = $this->app->request->baseFile(false);
$this->prefix = dirname(strtr($file, '\\', '/')); $this->prefix = trim(dirname($file), '\\/');
} else { } else {
$this->prefix = dirname($this->app->request->basefile(true)); $this->prefix = dirname($this->app->request->basefile(true));
list(, $domain) = explode('://', strtr($this->prefix, '\\', '/')); list(, $domain) = explode('://', strtr($this->prefix, '\\', '/'));