1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Corrected .glyph detection in toIcon() function.

This commit is contained in:
Cameron
2014-01-22 06:12:54 -08:00
parent 99af352647
commit 7679b5e075

View File

@@ -2688,7 +2688,7 @@ class e_parser
/**
* Parse xxxxx.glyph file to bootstrap glyph format.
* @param string $text
* @param array
* @param array of $parms
*/
public function toGlyph($text, $space=" ")
{
@@ -2771,7 +2771,7 @@ class e_parser
$ext = pathinfo($icon, PATHINFO_EXTENSION);
if(!$ext || $ext == '.glyph') // Bootstrap or Font-Awesome.
if(!$ext || $ext == 'glyph') // Bootstrap or Font-Awesome.
{
return $this->toGlyph($icon,$parm);
}