From 9db90b49c07dc7278b56f0588892fcef52581e9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 8 Jun 2022 10:39:28 +0200 Subject: [PATCH] Remove Font Awesome from WCFSetup WCFSetup does not use any icons, thus there is no need to load them. --- wcfsetup/install.php | 2 -- wcfsetup/install/files/lib/system/WCFSetup.class.php | 4 ---- wcfsetup/setup/template/header.tpl | 9 --------- 3 files changed, 15 deletions(-) diff --git a/wcfsetup/install.php b/wcfsetup/install.php index a22e16fd45..57dd43faf1 100644 --- a/wcfsetup/install.php +++ b/wcfsetup/install.php @@ -16,8 +16,6 @@ $neededFilesPattern = [ '!^setup/.*!', '!^install/files/acp/images/woltlabSuite.*!', '!^install/files/acp/style/setup/.*!', - '!^install/files/font/.*!', - '!^install/files/icon/.*!', '!^install/files/lib/data/.*!', '!^install/files/lib/system/.*!', '!^install/files/lib/util/.*!', diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index 1807df4147..8da150f7ae 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -200,10 +200,6 @@ final class WCFSetup extends WCF 'data:image/png;base64,%s', \base64_encode(\file_get_contents(TMP_DIR . 'install/files/acp/images/woltlabSuite.png')) ), - 'fontawesome-webfont.woff2' => \sprintf( - 'data:font/woff2;base64,%s', - \base64_encode(\file_get_contents(TMP_DIR . 'install/files/font/fontawesome-webfont.woff2')) - ), ], ]); } diff --git a/wcfsetup/setup/template/header.tpl b/wcfsetup/setup/template/header.tpl index 9bc4a9a2d2..ac4e2b0737 100644 --- a/wcfsetup/setup/template/header.tpl +++ b/wcfsetup/setup/template/header.tpl @@ -7,15 +7,6 @@ - -