From 58586d1ec06474ed6fc787f62912b3beed5b8e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Indri=C3=B0i=20Einarsson?= Date: Wed, 28 Aug 2024 21:43:42 +0000 Subject: [PATCH] Make bootstrap icons available on dockerized installs --- scripts/config_gen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/config_gen.php b/scripts/config_gen.php index 20e78c6f35..ae703527d6 100644 --- a/scripts/config_gen.php +++ b/scripts/config_gen.php @@ -307,8 +307,8 @@ function append_bootstrap_icons_files() { if (!is_dir("site/fonts")) { mkdir('site/fonts', 0755); } - $source_folder = 'vendor/twbs/bootstrap-icons/font/fonts/'; - $files = glob(VENDOR_PATH . "$source_folder*.*"); + $source_folder = VENDOR_PATH.'twbs/bootstrap-icons/font/fonts/'; + $files = glob("$source_folder*.*"); foreach($files as $file){ $dest_forlder = str_replace($source_folder, "site/fonts/", $file); copy($file, $dest_forlder);