aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-14 00:37:57 +0100
committerVincent Petry <pvince81@owncloud.com>2014-01-14 00:37:57 +0100
commit1eb5ebd58c0eed26eb7988caaac63cabe940f51f (patch)
treef77ae15eb29dfdb38f8824f93c549ac62fda58cd /apps/files_external/3rdparty
parent85e00ad35a63d2d728140f3ece685d79d7a6140c (diff)
downloadnextcloud-server-1eb5ebd58c0eed26eb7988caaac63cabe940f51f.tar.gz
nextcloud-server-1eb5ebd58c0eed26eb7988caaac63cabe940f51f.zip
Fixed timezone issue with SMB storage
Now forcing smbclient to also run on UTC
Diffstat (limited to 'apps/files_external/3rdparty')
-rw-r--r--apps/files_external/3rdparty/smb4php/smb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/3rdparty/smb4php/smb.php b/apps/files_external/3rdparty/smb4php/smb.php
index e454ddecb81..622942b052a 100644
--- a/apps/files_external/3rdparty/smb4php/smb.php
+++ b/apps/files_external/3rdparty/smb4php/smb.php
@@ -130,7 +130,7 @@ class smb {
// this put env is necessary to read the output of smbclient correctly
$old_locale = getenv('LC_ALL');
putenv('LC_ALL=en_US.UTF-8');
- $output = popen (SMB4PHP_SMBCLIENT." -N {$auth} {$options} {$port} {$options} {$params} 2>/dev/null", 'r');
+ $output = popen ('TZ=UTC '.SMB4PHP_SMBCLIENT." -N {$auth} {$options} {$port} {$options} {$params} 2>/dev/null", 'r');
$gotInfo = false;
$info = array ();
$info['info']= array ();