From 7ea65bbf0c97bafe54ebcac858de2423d7e2a3a0 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 1 Mar 2022 18:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8E=E5=8F=B0ico?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Config.php | 3 ++- app/admin/view/config/system.html | 6 ++++-- app/admin/view/full.html | 1 - app/admin/view/index/index.html | 1 - public/favicon.ico | Bin 204302 -> 0 bytes 5 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 public/favicon.ico diff --git a/app/admin/controller/Config.php b/app/admin/controller/Config.php index e88e8158b..24ed082ed 100644 --- a/app/admin/controller/Config.php +++ b/app/admin/controller/Config.php @@ -94,11 +94,12 @@ class Config extends Controller $info = LocalStorage::down($icon); } if (!empty($info) && !empty($info['file'])) { - $favicon = new FaviconExtend($info['file'], [256, 256]); + $favicon = new FaviconExtend($info['file'], [48, 48]); $favicon->saveIco("{$this->app->getRootPath()}public/favicon.ico"); } } catch (\Exception $exception) { trace_file($exception); + $this->error($exception->getMessage()); } // 数据数据到系统配置表 foreach ($post as $k => $v) sysconf($k, $v); diff --git a/app/admin/view/config/system.html b/app/admin/view/config/system.html index 85b46525d..088b5f5e7 100644 --- a/app/admin/view/config/system.html +++ b/app/admin/view/config/system.html @@ -42,9 +42,11 @@
浏览器小图标Browser Icon
- 建议上传 128x128 | 256x256 的 ico 或 png 图片,可以通过 ICON 在线制作 ico 后缀文件 ~ +
+ 建议上传 128x128256x256JPG,PNG,JPEG 图片,保存后会自动生成 48x48ICO 文件 ~ +
diff --git a/app/admin/view/full.html b/app/admin/view/full.html index 36e1fc45e..7386303ac 100644 --- a/app/admin/view/full.html +++ b/app/admin/view/full.html @@ -9,7 +9,6 @@ - diff --git a/app/admin/view/index/index.html b/app/admin/view/index/index.html index 679035197..80f3eef23 100644 --- a/app/admin/view/index/index.html +++ b/app/admin/view/index/index.html @@ -10,7 +10,6 @@ - diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 96442169ec7ece80c7e5591e66fcf3b7664b2ba6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 204302 zcmeHQO_Jk0a#j0t_}e(9Yvu69E-q(T2bgei;REOhTzRb%SUiFD_CiO{2^7M%NMycz34oOPo5kWA{`dFe0)LCe+rRy>_?N|E z@mI*-A^-QSxsOx*C<2OrBA^H;0*Zhlpa>`eihv@Z2q*%IfFhs>C<2OrBA^H;0*Zhl zpa>`eihv@Z2q*%IfFhs>C<2OrBA^H;0*Zhlpa>`eihv@Z2q*%IfFhs>C<2OrBA^H; z0*Zhlpa>`eihv@Z2q*%IfFhs>C<2OrBA^H;0*Zhlpa>`eihv@Z2q*%IfFhs>C<2Or zBA^H;0*Zhlpa>`eihv@Z2q*%IfFhs>C<2OrBA^H;0*Zhlpa>`eqd?$4|7TG;a=`gV zE3Y`dK(>$?!gj?doK`0kfe9mkI(mTYAhycZ|KorEe1MdW6k>y^ z;fn~6qmU=JQG0KRBi9wm($!0zW2`600peS4eeG!D?&}XVRzNDq7IK7q^vEmjzd+co zhOj;h$z0#7ZSb;yaDCufVflN+`HORH@7p8SlnNq}6WCorTz~AivB&Mb=C`e#OSRTl zgWdbKCRvY5t;cvqf!kcqSVOUVw*BgOFTVDKFD2xVz$fdQd!*gFTK`ZVPY~8jw~kU> zv!-{D739mF>1$^1_X?cj+QwSr`gUnObGaIFK6oz*zgTx6W5%>){T27X1k?hb=TfY9 zA$7_+XDxDXdlxug;u5%)djEEg^RF0(wH=K&`sS!T`c7ZVOPEbv2i|iXl3ee6>yfp; zg)AX=v*!T6o*jvV@akhm>`qi~f|7OJp@SE>Na<6s1b;x!H$cBDS zeSYinADrSE)aBYOuKCW!i{EI+{cvs{>EGmeKrTaGAR%=yhPL#X?`|fa16zyW6FHT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