mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
Fixed timezone issue with SMB storage
Now forcing smbclient to also run on UTC
This commit is contained in:
parent
85e00ad35a
commit
1eb5ebd58c
1 changed files with 1 additions and 1 deletions
2
apps/files_external/3rdparty/smb4php/smb.php
vendored
2
apps/files_external/3rdparty/smb4php/smb.php
vendored
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Reference in a new issue