mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-09 04:19:32 +08:00
update
This commit is contained in:
parent
7fe15a0082
commit
743f6181eb
@ -43,7 +43,7 @@ class Api extends Base
|
||||
// 获取当前驱动实例
|
||||
$strategy = $this->getStrategyInstance();
|
||||
|
||||
$pathname = $this->makePathname($image->getInfo('name'));
|
||||
$pathname = strtolower($this->makePathname($image->getInfo('name')));
|
||||
if (!$strategy->create($pathname, $image->getPathname())) {
|
||||
if (Config::get('app.app_debug')) {
|
||||
throw new Exception($strategy->getError(), 500);
|
||||
|
Loading…
Reference in New Issue
Block a user