File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 11
2- [ v1.34.7 ] ( https://github.com/nextcloud/nextcloudpi/commit/0cce679 ) (2021-01-19) docker : fix datadir path contents
2+ [ v1.35.2 ] ( https://github.com/nextcloud/nextcloudpi/commit/3f345eb ) (2021-04-29) ncp-web : fix display of big files for 32 bit
33
4- [ v1.34.6] ( https://github.com/nextcloud/nextcloudpi/commit/84ccf94 ) (2021-01-18) docker: fix datadir path
4+ [ v1.35.1 ] ( https://github.com/nextcloud/nextcloudpi/commit/e64ca34 ) (2021-04-29) ncp-web: fix backup download for big files in 32-bit
5+
6+ [ v1.35.0] ( https://github.com/nextcloud/nextcloudpi/commit/be30663 ) (2021-02-27) upgrade to NC20.0.8
7+
8+ [ v1.34.9 ] ( https://github.com/nextcloud/nextcloudpi/commit/7d15924 ) (2021-01-19) nc-autoupdate-ncp: Append to log instead of replace
9+
10+ [ v1.34.8 ] ( https://github.com/nextcloud/nextcloudpi/commit/117b8ea ) (2021-01-20) nc-automount: udiskie verbose output
11+
12+ [ v1.34.7, master] ( https://github.com/nextcloud/nextcloudpi/commit/b978184 ) (2021-01-19) docker: fix datadir path contents
13+
14+ [ v1.34.6 ] ( https://github.com/nextcloud/nextcloudpi/commit/84ccf94 ) (2021-01-18) docker: fix datadir path
515
616[ v1.34.5 ] ( https://github.com/nextcloud/nextcloudpi/commit/afa39fb ) (2021-01-18) ncp-config: shorten descriptions
717
3545
3646[ v1.29.8 ] ( https://github.com/nextcloud/nextcloudpi/commit/21a791d ) (2020-08-30) nc-limits: minimum 6 PHP threads (for NC talk)
3747
48+ [ v1.29.7 ] ( https://github.com/nextcloud/nextcloudpi/commit/c143acc ) (2020-07-24) do not hsts preload by default, only serve hsts header over https
49+
3850[ v1.29.6 ] ( https://github.com/nextcloud/nextcloudpi/commit/14b78e3 ) (2020-08-29) ncp-web: Fix the style of the language selection dropdown (chrome)
3951
4052[ v1.29.5 ] ( https://github.com/nextcloud/nextcloudpi/commit/34e84ba ) (2020-08-30) ncp-web: fix initial screen displaying all sections
Original file line number Diff line number Diff line change 2020$ bkps = array ();
2121$ bkps_auto = array ();
2222
23+ function filesize_compat ($ file )
24+ {
25+ if (PHP_INT_SIZE === 4 ) # workaround for 32-bit architectures
26+ return trim (shell_exec ("stat -c%s " . escapeshellarg ($ file )));
27+ else
28+ return filesize ($ file );
29+ }
30+
2331if (file_exists ($ bkp_dir ))
2432{
2533 $ bkps = array_diff (scandir ($ bkp_dir ), array ('. ' , '.. ' ));
6068 $ compressed = '✓ ' ;
6169
6270 $ date = date ("Y M d @ H:i " , filemtime ($ bkp ));
63- $ size = round (filesize ($ bkp )/1024 /1024 ) . " MiB " ;
71+ $ size = round (filesize_compat ($ bkp )/1024 /1024 ) . " MiB " ;
6472
6573 $ has_data = '' ;
6674 $ ret = null ;
You can’t perform that action at this time.
0 commit comments