diff options
author | Simon Rettberg | 2014-12-10 14:44:53 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-12-10 14:44:53 +0100 |
commit | 8aa2738a06c3c382e4ab63d1625498452bc50241 (patch) | |
tree | 92c188eea309aaceb8eaf1f02956ba4eb77017ec /modules/minilinux.inc.php | |
parent | Add option to hide or show password fields (diff) | |
download | slx-admin-8aa2738a06c3c382e4ab63d1625498452bc50241.tar.gz slx-admin-8aa2738a06c3c382e4ab63d1625498452bc50241.tar.xz slx-admin-8aa2738a06c3c382e4ab63d1625498452bc50241.zip |
Store processed and unprocessed values of settings; add option to download minilinux components that seem up to date; add setting to show/hide password fields
Diffstat (limited to 'modules/minilinux.inc.php')
-rw-r--r-- | modules/minilinux.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/minilinux.inc.php b/modules/minilinux.inc.php index 46c771c2..c9d73b61 100644 --- a/modules/minilinux.inc.php +++ b/modules/minilinux.inc.php @@ -37,7 +37,7 @@ class Page_MiniLinux extends Page foreach ($system['files'] as &$file) { $file['uid'] = 'dlid' . $count++; $local = CONFIG_HTTP_DIR . '/' . $system['id'] . '/' . $file['name']; - if (!file_exists($local) || filesize($local) !== $file['size'] || md5_file($local) !== substr($file['md5'], 0, 32)) { + if (!file_exists($local) || filesize($local) !== $file['size'] || filemtime($local) < $file['mtime']) { $file['fileChanged'] = true; $system['systemChanged'] = true; } |