Browse Source

BugFix - Shadow Delete - if spoilered image getting "extension" index error

main
PupperWoff 6 years ago
committed by discomrade
parent
commit
d568e5a311
  1. 3
      inc/shadow-delete.php

3
inc/shadow-delete.php

@ -5,6 +5,9 @@ class ShadowDelete {
{
global $config;
if($filename == 'spoiler')
return $config['spoiler_image'];
$file = pathinfo($filename);
return sha1($file['filename'] . $config['shadow_del']['filename_seed']) . "." . $file['extension'];
}

Loading…
Cancel
Save