diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-14 00:37:57 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-14 00:37:57 +0100 |
commit | 1eb5ebd58c0eed26eb7988caaac63cabe940f51f (patch) | |
tree | f77ae15eb29dfdb38f8824f93c549ac62fda58cd /apps/files_external/3rdparty | |
parent | 85e00ad35a63d2d728140f3ece685d79d7a6140c (diff) | |
download | nextcloud-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.php | 2 |
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 (); |