diff options
author | Jan-Christoph Borchardt <jan@unhosted.org> | 2012-04-15 13:32:45 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <jan@unhosted.org> | 2012-04-15 13:34:30 +0200 |
commit | 7ddd0434270fa1cc51769e812f257cf63b0ec92f (patch) | |
tree | 10a2cac32c4cdb05e4c88b9008d6b1e05e670faa /apps/files_encryption | |
parent | d32799e4bf48412d71222401dba84aaab47a75a7 (diff) | |
download | nextcloud-server-7ddd0434270fa1cc51769e812f257cf63b0ec92f.tar.gz nextcloud-server-7ddd0434270fa1cc51769e812f257cf63b0ec92f.zip |
renamed extention to extension, also now only showing lowercase
Diffstat (limited to 'apps/files_encryption')
-rw-r--r-- | apps/files_encryption/lib/proxy.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php index c1c26d7754f..c68df06f9fa 100644 --- a/apps/files_encryption/lib/proxy.php +++ b/apps/files_encryption/lib/proxy.php @@ -41,8 +41,8 @@ class OC_FileProxy_Encryption extends OC_FileProxy{ if(self::isEncrypted($path)){ return true; } - $extention=substr($path,strrpos($path,'.')+1); - if(array_search($extention,self::$blackList)===false){ + $extension=substr($path,strrpos($path,'.')+1); + if(array_search($extension,self::$blackList)===false){ return true; } } |