summaryrefslogtreecommitdiffstats
path: root/files/index.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <jan@unhosted.org>2012-04-15 13:32:45 +0200
committerJan-Christoph Borchardt <jan@unhosted.org>2012-04-15 13:34:30 +0200
commit7ddd0434270fa1cc51769e812f257cf63b0ec92f (patch)
tree10a2cac32c4cdb05e4c88b9008d6b1e05e670faa /files/index.php
parentd32799e4bf48412d71222401dba84aaab47a75a7 (diff)
downloadnextcloud-server-7ddd0434270fa1cc51769e812f257cf63b0ec92f.tar.gz
nextcloud-server-7ddd0434270fa1cc51769e812f257cf63b0ec92f.zip
renamed extention to extension, also now only showing lowercase
Diffstat (limited to 'files/index.php')
-rw-r--r--files/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/index.php b/files/index.php
index 82d09608924..aea91542db6 100644
--- a/files/index.php
+++ b/files/index.php
@@ -51,10 +51,10 @@ foreach( OC_Files::getdirectorycontent( $dir ) as $i ){
$fileinfo=pathinfo($i['name']);
$i['basename']=$fileinfo['filename'];
if (!empty($fileinfo['extension'])) {
- $i['extention']='.' . $fileinfo['extension'];
+ $i['extension']='.' . $fileinfo['extension'];
}
else {
- $i['extention']='';
+ $i['extension']='';
}
}
if($i['directory']=='/'){