Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-12 00:08:11 +0400
committerRobin Appelman <icewind@owncloud.com>2012-10-12 00:18:35 +0400
commit87d4aaf287f149bb837e3f0b56fb7a0a0dc5c107 (patch)
treec7cacc59dbddee31f557b82b14ea5664ee18f48b /3rdparty
parent517354580d4a31e559e27be8a1ef165d17b33d9e (diff)
supress some warning in cloudfiles library
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/php-cloudfiles/cloudfiles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/php-cloudfiles/cloudfiles.php b/3rdparty/php-cloudfiles/cloudfiles.php
index 5f7e2100a99..7b1014265e5 100644
--- a/3rdparty/php-cloudfiles/cloudfiles.php
+++ b/3rdparty/php-cloudfiles/cloudfiles.php
@@ -2000,7 +2000,7 @@ class CF_Object
// }
//use OC's mimetype detection for files
- if(is_file($handle)){
+ if(@is_file($handle)){
$this->content_type=OC_Helper::getMimeType($handle);
}else{
$this->content_type=OC_Helper::getStringMimeType($handle);
@@ -2537,7 +2537,7 @@ class CF_Object
}
$md5 = hash_final($ctx, false);
rewind($data);
- } elseif ((string)is_file($data)) {
+ } elseif ((string)@is_file($data)) {
$md5 = md5_file($data);
} else {
$md5 = md5($data);