You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.
I just found that including less bootstrap file generate absolute URLs for fonts. It cause glyphicon crash and not displayed.
I write a workaround in my local files but I really don't know if it's a real bug or if it's a configuration to do.
In my AssetsFileManager.php, line 208, I added these lines:
/* HACK LPO TO REPLACE ABSOLUTE URLS BY RELATIVES URL */$regexRelativeUrl = "/(url\(')(C:)?[a-zA-Z0-9\/]*(\/bootstrap\/less\/fonts)/i";
if (preg_match_all($regexRelativeUrl, $sAssetFileFilteredContent, $matches)) {
$replace = array_unique($matches[0]);
foreach ($replaceas$search) {
$sAssetFileFilteredContent = str_replace($search, "url('../fonts", $sAssetFileFilteredContent);
}
}
/* END HACK */
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi !
I just found that including less bootstrap file generate absolute URLs for fonts. It cause glyphicon crash and not displayed.
I write a workaround in my local files but I really don't know if it's a real bug or if it's a configuration to do.
In my AssetsFileManager.php, line 208, I added these lines:
The text was updated successfully, but these errors were encountered: