summaryrefslogtreecommitdiffstats
path: root/files/index.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-07 04:14:24 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-07 04:14:24 +0200
commitd31349b781040ba394d8b9f9bf0e0f06f33f5b9e (patch)
tree72f5a81ea7cf0bd32553a6acbc2443827434e011 /files/index.php
parent1cc9fc3ab425abac14c7796a83a917744410303a (diff)
downloadnextcloud-server-d31349b781040ba394d8b9f9bf0e0f06f33f5b9e.tar.gz
nextcloud-server-d31349b781040ba394d8b9f9bf0e0f06f33f5b9e.zip
files can now be draged and dropped in the file browser
Diffstat (limited to 'files/index.php')
-rw-r--r--files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/index.php b/files/index.php
index e06ab552632..e88f0ef23e5 100644
--- a/files/index.php
+++ b/files/index.php
@@ -49,7 +49,7 @@ foreach( OC_FILES::getdirectorycontent( $dir ) as $i ){
$i["date"] = OC_UTIL::formatDate($i["mtime"] );
if($i['type']=='file'){
$i['extention']=substr($i['name'],strrpos($i['name'],'.'));
- $i['name']=substr($i['name'],0,strrpos($i['name'],'.'));
+ $i['basename']=substr($i['name'],0,strrpos($i['name'],'.'));
}
if($i['directory']=='/'){
$i['directory']='';