PMCORE-2128

This commit is contained in:
Julio Cesar Laura Avendaño
2020-09-12 00:08:05 +00:00
parent 93086ecd0d
commit 45de45bee6
149 changed files with 702 additions and 8 deletions

View File

@@ -1242,8 +1242,11 @@ class OutputDocument extends BaseOutputDocument
// Create the missing folder(s)
$filesystem->makeDirectory(K_PATH_FONTS, 0755, true, true);
// Copy files related to the fonts
// Copy files related to the fonts from vendors
$filesystem->copyDirectory(PATH_TRUNK . 'vendor' . PATH_SEP . 'tecnickcom' . PATH_SEP . 'tcpdf' . PATH_SEP . 'fonts' . PATH_SEP, K_PATH_FONTS);
// Copy files related to the fonts from core
$filesystem->copyDirectory(PATH_CORE . 'content' . PATH_SEP . 'tcPdfFonts' . PATH_SEP, K_PATH_FONTS);
}
}