summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsmartyplugins/function.biticon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/smartyplugins/function.biticon.php b/smartyplugins/function.biticon.php
index adc4edb..a6422b1 100755
--- a/smartyplugins/function.biticon.php
+++ b/smartyplugins/function.biticon.php
@@ -18,7 +18,7 @@ use Bitweaver\KernelTools;
* @access public
* @return string|bool Icon name with extension on success, false on failure
*/
-function biticon_first_match( $pDir, $pFilename, $pExtensions = ['png', 'gif', 'jpg'] ) {
+function biticon_first_match( $pDir, $pFilename, $pExtensions = ['svg', 'png', 'gif', 'jpg'] ) {
if( is_dir( $pDir )) {
foreach( $pExtensions as $ext ) {
if( is_file( $pDir.$pFilename.'.'.$ext ) ) {