mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Config.php
This commit is contained in:
parent
4d1ff2c46a
commit
4b8e12919c
@ -94,7 +94,7 @@ class Config extends Controller
|
||||
$info = LocalStorage::down($icon);
|
||||
}
|
||||
if (!empty($info) && !empty($info['file'])) {
|
||||
$favicon = new FaviconExtend($info['file']);
|
||||
$favicon = new FaviconExtend($info['file'], [256, 256]);
|
||||
$favicon->saveIco("{$this->app->getRootPath()}public/favicon.ico");
|
||||
}
|
||||
} catch (\Exception $exception) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user