summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/inc_media.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/inc_media.php b/includes/inc_media.php
index 7c5f133..b871a42 100755
--- a/includes/inc_media.php
+++ b/includes/inc_media.php
@@ -91,6 +91,12 @@ else
print " <input name=\"name\" type=\"hidden\" id=\"name\" value=\"{$dir}{$value}\" />";
print "</form>\r\n";
}
+ else if ( preg_match("'" .$fileext ." '", $audiotypes)
+ || preg_match("'" .$fileext ." $'", $audiotypes)
+ )
+ {
+ print "<li class=\"menu\"><a href=\"streammusic.php?file={$dir}{$value}\"><img src=\"images/pictos/audio.png\" /><span class=\"name\">$value</span><span class=\"arrow\"></span></a></li>\r\n";
+ }
}
}
}