Skip to content
Permalink
Browse files Browse the repository at this point in the history
Also replace the backslash with a minus
For Windows systems
  • Loading branch information
LukasReschke committed Jan 19, 2013
1 parent c05c8ab commit b8e0309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/helper.php
Expand Up @@ -176,8 +176,9 @@ public static function mimetypeIcon( $mimetype ) {
if(isset($alias[$mimetype])) {
$mimetype=$alias[$mimetype];
}
// Replace slash with a minus
// Replace slash and backslash with a minus
$mimetype = str_replace( "/", "-", $mimetype );
$mimetype = str_replace( "\\", "-", $mimetype );

// Is it a dir?
if( $mimetype == "dir" ) {
Expand Down

0 comments on commit b8e0309

Please sign in to comment.