From ca085c56e17dfd6dad73179b07a920807ebef058 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Fri, 22 Feb 2008 10:42:48 +0000 Subject: [PATCH] now .thumbs subdirs should work on every platform --- fp-plugins/thumb/plugin.thumb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fp-plugins/thumb/plugin.thumb.php b/fp-plugins/thumb/plugin.thumb.php index b1f56ee..9c197bc 100755 --- a/fp-plugins/thumb/plugin.thumb.php +++ b/fp-plugins/thumb/plugin.thumb.php @@ -9,7 +9,7 @@ Version: 1.0 Author URI: http://www.nowhereland.it/ */ -define('THUMB_DIR', '.thumbs/'); +define('THUMB_DIR', '.thumbs'); if (!function_exists('imagegd2')) @@ -61,7 +61,7 @@ function plugin_thumb_create($fpath, $infos, $new_width, $new_height) { @fs_mkdir($thumbdir); - $thumbpath = $thumbdir . $thumbname; + $thumbpath = $thumbdir .'/'. $thumbname;