Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16061/include
Modified Files:
functions_images.inc.php
Log Message:
fixing bug; make this work under windows. should be no harm to unix systems
Index: functions_images.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_images.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- functions_images.inc.php 30 Nov 2004 15:53:56 -0000 1.4
+++ functions_images.inc.php 5 Dec 2004 14:00:57 -0000 1.5
@@ -214,7 +214,7 @@
else $newSize = $serendipity["thumbSize"]."x*"; */
$newSize = $size . 'x' . $size;
$r = array($size, $size);
- $cmd = $serendipity['convert'] . " -antialias -scale $newSize $infile $outfile 2>&1";
+ $cmd = $serendipity['convert'] . " -antialias -scale $newSize \"$infile\" \"$outfile\" 2>&1";
$res = `$cmd`;
}
}
|