diff options
| author | czaks <marcin@6irc.net> | 2014-10-24 13:24:33 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-24 13:24:33 +0200 |
| commit | daad519b85463ce21600af22adae8207517f35c5 (patch) | |
| tree | 0044666e9d0ea5bed9d9f09cd9199da12a259311 /post.php | |
| parent | f16c14640ea7103c85a8823591594980004b1d5d (diff) | |
config[php_md5] feature
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -568,7 +568,7 @@ if (isset($_POST['delete'])) { $md5cmd = $config['bsd_md5'] ? 'md5 -r' : 'md5sum'; - if ($output = shell_exec_error("cat $filenames | $md5cmd")) { + if (!$config['php_md5'] && $output = shell_exec_error("cat $filenames | $md5cmd")) { $explodedvar = explode(' ', $output); $hash = $explodedvar[0]; $post['filehash'] = $hash; |
