ComposerUpdate

This commit is contained in:
Anyon 2019-11-22 10:10:38 +08:00
parent a4d2a57bc9
commit 01322e33e5
5 changed files with 10 additions and 11 deletions

8
composer.lock generated
View File

@ -699,12 +699,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "35a0122215949195abc4754f461f502052fe7bc3" "reference": "00fe6b75407a6dbde28add584886ad7e48abc604"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/35a0122215949195abc4754f461f502052fe7bc3", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/00fe6b75407a6dbde28add584886ad7e48abc604",
"reference": "35a0122215949195abc4754f461f502052fe7bc3", "reference": "00fe6b75407a6dbde28add584886ad7e48abc604",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -742,7 +742,7 @@
], ],
"description": "ThinkPHP v6.0 Development Library", "description": "ThinkPHP v6.0 Development Library",
"homepage": "http://framework.thinkadmin.top", "homepage": "http://framework.thinkadmin.top",
"time": "2019-11-21T06:31:36+00:00" "time": "2019-11-22T02:07:09+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

View File

@ -721,12 +721,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "35a0122215949195abc4754f461f502052fe7bc3" "reference": "00fe6b75407a6dbde28add584886ad7e48abc604"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/35a0122215949195abc4754f461f502052fe7bc3", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/00fe6b75407a6dbde28add584886ad7e48abc604",
"reference": "35a0122215949195abc4754f461f502052fe7bc3", "reference": "00fe6b75407a6dbde28add584886ad7e48abc604",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -736,7 +736,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2019-11-21T06:31:36+00:00", "time": "2019-11-22T02:07:09+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:2019-11-21 18:03:55 // This file is automatically generated at:2019-11-22 10:10:27
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\app\\Service', 0 => 'think\\app\\Service',

View File

@ -130,7 +130,7 @@ abstract class Storage
{ {
$mimes = self::mimes(); $mimes = self::mimes();
foreach (is_string($exts) ? explode(',', $exts) : $exts as $e) { foreach (is_string($exts) ? explode(',', $exts) : $exts as $e) {
$mime[] = isset($mimes[strtolower($e)]) ? $mimes[strtolower($e)] : ''; $mime[] = isset($mimes[strtolower($e)]) ? $mimes[strtolower($e)] : 'application/octet-stream';
} }
return join(',', array_unique($mime)); return join(',', array_unique($mime));
} }

View File

@ -54,7 +54,6 @@ class ProcessService extends Service
{ {
if ($this->iswin()) { if ($this->iswin()) {
$command = __DIR__ . "/bin/console.exe {$command}"; $command = __DIR__ . "/bin/console.exe {$command}";
echo $command."<br>";
pclose(popen("wmic process call create \"{$command}\"", 'r')); pclose(popen("wmic process call create \"{$command}\"", 'r'));
} else { } else {
pclose(popen("{$command} &", 'r')); pclose(popen("{$command} &", 'r'));