diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | files/index.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index 6a1ffc21cae..94de5aec803 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ RCS/* # Lokalize *lokalize* +.project diff --git a/files/index.php b/files/index.php index e88f0ef23e5..550f23541a0 100644 --- a/files/index.php +++ b/files/index.php @@ -59,10 +59,10 @@ foreach( OC_FILES::getdirectorycontent( $dir ) as $i ){ // Make breadcrumb $breadcrumb = array(); -$pathtohere = "/"; +$pathtohere = ""; foreach( explode( "/", $dir ) as $i ){ if( $i != "" ){ - $pathtohere .= "$i/"; + $pathtohere .= "/$i"; $breadcrumb[] = array( "dir" => $pathtohere, "name" => $i ); } } |