Fix fonts issue

This commit is contained in:
Pierre 2018-05-09 18:29:42 +02:00
parent b457786ae9
commit 4ac1b15520

View File

@ -211,11 +211,13 @@ js_files_to_file($appDebugFiles, $targetAppJS);
$source = file_get_contents($targetThirdPartyCSS);
$source = str_replace("../fonts/fontawesome", "fontawesome_fonts/fontawesome", $source);
$source = str_replace("../fonts/ionicons", "ionicons_fonts/ionicons", $source);
$source = str_replace("../fonts/glyphicons", "fonts/glyphicons", $source);
file_put_contents($targetThirdPartyCSS, $source);
//Copy font awesome files + ionicons files + and twemojies files + Google Fonts
//Copy font awesome files + ionicons files + bootstrap fond + and twemojies files + Google Fonts
rcopy($path_debug_assets."3rdparty/adminLTE/plugins/font-awesome/fonts", $path_release_assets."fontawesome_fonts");
rcopy($path_debug_assets."3rdparty/adminLTE/plugins/ionicons/fonts", $path_release_assets."ionicons_fonts");
rcopy($path_debug_assets."3rdparty/adminLTE/bootstrap/fonts", $path_release_assets."fonts");
rcopy($path_debug_assets."3rdparty/twemoji/2/72x72/", $path_release_assets."3rdparty/twemoji/2/72x72/");
rcopy($path_debug_assets."3rdparty/adminLTE/plugins/googleFonts/googleFonts/", $path_release_assets."googleFonts/");
rcopy($path_debug_assets."3rdparty/wdt-emoji/sheets/", $path_release_assets."3rdparty/wdt-emoji/sheets/");