mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Upload.php
This commit is contained in:
parent
8fa3f12d7c
commit
e6796667c2
@ -134,7 +134,7 @@ class Upload extends Controller
|
|||||||
{
|
{
|
||||||
$this->uptype = strtolower(input('uptype', ''));
|
$this->uptype = strtolower(input('uptype', ''));
|
||||||
if (!in_array($this->uptype, ['local', 'qiniu', 'alioss'])) {
|
if (!in_array($this->uptype, ['local', 'qiniu', 'alioss'])) {
|
||||||
$this->uptype = sysconf('storage.type');
|
$this->uptype = strtolower(sysconf('storage.type'));
|
||||||
}
|
}
|
||||||
return strtolower($this->uptype);
|
return strtolower($this->uptype);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user