now .thumbs subdirs should work on every platform
This commit is contained in:
parent
3b3907d153
commit
ca085c56e1
@ -9,7 +9,7 @@ Version: 1.0
|
|||||||
Author URI: http://www.nowhereland.it/
|
Author URI: http://www.nowhereland.it/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('THUMB_DIR', '.thumbs/');
|
define('THUMB_DIR', '.thumbs');
|
||||||
|
|
||||||
|
|
||||||
if (!function_exists('imagegd2'))
|
if (!function_exists('imagegd2'))
|
||||||
@ -61,7 +61,7 @@ function plugin_thumb_create($fpath, $infos, $new_width, $new_height) {
|
|||||||
|
|
||||||
@fs_mkdir($thumbdir);
|
@fs_mkdir($thumbdir);
|
||||||
|
|
||||||
$thumbpath = $thumbdir . $thumbname;
|
$thumbpath = $thumbdir .'/'. $thumbname;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user