diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/index.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/public.php | 2 | ||||
-rwxr-xr-x | apps/user_webdavauth/user_webdavauth.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index a65ffe732a1..92fda5b21e5 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -87,7 +87,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); $freeSpace=OC_Filesystem::free_space($dir); $freeSpace=max($freeSpace,0); -$maxUploadFilesize = min($maxUploadFilesize ,$freeSpace); +$maxUploadFilesize = min($maxUploadFilesize, $freeSpace); $permissions = OCP\Share::PERMISSION_READ; if (OC_Filesystem::isUpdatable($dir.'/')) { diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index ef81e296d82..35cca7c42dc 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -19,7 +19,7 @@ <?php if (isset($_['folder'])): ?> <?php echo $_['folder']; ?> <?php else: ?> - <?php if (substr($_['mimetype'], 0 , strpos($_['mimetype'], '/')) == 'image'): ?> + <?php if (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'image'): ?> <div id="imgframe"> <img src="<?php echo $_['downloadURL']; ?>" /> </div> diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php index c36d37c1fa2..bd9f45d357b 100755 --- a/apps/user_webdavauth/user_webdavauth.php +++ b/apps/user_webdavauth/user_webdavauth.php @@ -51,7 +51,7 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { $url= 'http://'.urlencode($uid).':'.urlencode($password).'@'.$this->webdavauth_url; $headers = get_headers($url); if($headers==false) { - OC_Log::write('OC_USER_WEBDAVAUTH', 'Not possible to connect to WebDAV Url: "'.$this->webdavauth_url.'" ' ,3); + OC_Log::write('OC_USER_WEBDAVAUTH', 'Not possible to connect to WebDAV Url: "'.$this->webdavauth_url.'" ', 3); return false; } |