Skip to content
Permalink
Browse files

Minor update

* Thumb module minor update
  • Loading branch information...
sergejey committed May 14, 2019
1 parent 063207e commit 1b05bb9f48c5ca8f54b6b673bb51f48e10f3b9c7
Showing with 4 additions and 1 deletion.
  1. +0 −1 modules/thumb/thumb.class.php
  2. +4 −0 modules/thumb/thumb.php
@@ -173,4 +173,3 @@ function resizeImage($filename, $new_width = 0, $new_height = 0)
}
?>
@@ -24,6 +24,10 @@
if (IsSet($url) && $url != '') {
$tmp_url = base64_decode($url);
if (!$img) {
$filename = 'thumb_' . md5($tmp_url) . basename(preg_replace('/\W/', '', $tmp_url));
$img = _I_CACHE_PATH . $filename;
}
if ($tmp_url == 'usb') {
$url = "";
$img_tmp = $img . '_tmp';

0 comments on commit 1b05bb9

Please sign in to comment.
You can’t perform that action at this time.