mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-08-07 14:19:46 +08:00
ComposerUpdate
This commit is contained in:
parent
b06a4c29ec
commit
4cf917329c
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -963,12 +963,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "747278ffb2b1a450bc8e6724ffbff105bb9f5f47"
|
||||
"reference": "61738ce3b2e4ae4698570f87ab00f9369b9830dd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/747278ffb2b1a450bc8e6724ffbff105bb9f5f47",
|
||||
"reference": "747278ffb2b1a450bc8e6724ffbff105bb9f5f47",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/61738ce3b2e4ae4698570f87ab00f9369b9830dd",
|
||||
"reference": "61738ce3b2e4ae4698570f87ab00f9369b9830dd",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -985,7 +985,7 @@
|
||||
"ext-mbstring": "*",
|
||||
"topthink/framework": "^6.0"
|
||||
},
|
||||
"time": "2020-08-17T07:32:11+00:00",
|
||||
"time": "2020-08-17T10:24:03+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"think": {
|
||||
|
@ -57,7 +57,7 @@ class SystemService extends Service
|
||||
} else {
|
||||
$this->app->cache->delete($this->table);
|
||||
$data = ['type' => $type, 'name' => $field, 'value' => $value];
|
||||
$query = $this->app->db->name($this->table)->where(['type' => $type, 'name' => $name]);
|
||||
$query = $this->app->db->name($this->table)->where(['type' => $type, 'name' => $field]);
|
||||
return (clone $query)->count() > 0 ? $query->update($data) : $query->insert($data);
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ class LocalStorage extends Storage
|
||||
*/
|
||||
protected function initialize()
|
||||
{
|
||||
$type = strtolower(sysconf('storage.local_http_protocol'));
|
||||
$type = sysconf('storage.local_http_protocol') ?: 'follow';
|
||||
if ($type === 'follow') $type = $this->app->request->scheme();
|
||||
$this->prefix = trim(dirname($this->app->request->baseFile(false)), '\\/');
|
||||
if ($type !== 'path') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user