diff options
author | Simon Rettberg | 2018-02-09 12:12:31 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-09 12:12:31 +0100 |
commit | d57ee1cfdd99fb4e44f5ce6d92d6712c30ff0aa4 (patch) | |
tree | c1030efbdb837f53651272e015a3ab5562f145c8 /modules-available/minilinux/page.inc.php | |
parent | [systemstatus] lang-descriptions for permissions (diff) | |
parent | [inc/User] Add locationid 0 to allowed locations in fallback mode (diff) | |
download | slx-admin-d57ee1cfdd99fb4e44f5ce6d92d6712c30ff0aa4.tar.gz slx-admin-d57ee1cfdd99fb4e44f5ce6d92d6712c30ff0aa4.tar.xz slx-admin-d57ee1cfdd99fb4e44f5ce6d92d6712c30ff0aa4.zip |
Merge branch 'master' into permission-manager
Diffstat (limited to 'modules-available/minilinux/page.inc.php')
-rw-r--r-- | modules-available/minilinux/page.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/minilinux/page.inc.php b/modules-available/minilinux/page.inc.php index df4f14a3..710ffd15 100644 --- a/modules-available/minilinux/page.inc.php +++ b/modules-available/minilinux/page.inc.php @@ -66,7 +66,8 @@ class Page_MiniLinux extends Page foreach ($selected['files'] as &$file) { $file['uid'] = 'dlid' . $count++; $local = CONFIG_HTTP_DIR . '/' . $system['id'] . '/' . $file['name']; - if (!file_exists($local) || filesize($local) !== $file['size'] || filemtime($local) < $file['mtime']) { + if (!file_exists($local) || filesize($local) !== $file['size'] || filemtime($local) < $file['mtime'] + || md5_file($local) !== $file['md5']) { $file['fileChanged'] = true; $system['systemChanged'] = true; } |