From ec5bdc10ded9ac83d0a9ff5e68d0bb13f766d609 Mon Sep 17 00:00:00 2001 From: Victor Emanouilov Date: Wed, 1 May 2024 00:05:56 +0300 Subject: [PATCH] fix config generator to ignore fonts when copying bootswatch files --- scripts/config_gen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config_gen.php b/scripts/config_gen.php index f619d138d9..b3bbee4307 100644 --- a/scripts/config_gen.php +++ b/scripts/config_gen.php @@ -323,7 +323,7 @@ function process_bootswatch_files() { $dir = opendir($src); while(false !== ($folder = readdir($dir))) { if (($folder != '.' ) && ($folder != '..' )) { - if (is_dir($src . '/' . $folder)) { + if (is_dir($src . '/' . $folder) && $folder != 'fonts') { $target = $src . '/' . $folder . '/css/' . $folder . '.css'; if ($folder == 'default') { $content = file_get_contents('vendor/twbs/bootstrap/dist/css/bootstrap.min.css');