1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/www/campsite/files/patch-transfer_images.php
Pav Lucistnik 9a47a517ab - Update to 2.6.1
- Replace pecl-imagick with GraphicsMagick

PR:		ports/102433
Submitted by:	Ondra Koutek <koutek@o-k.cz> (maintainer)
2006-08-28 12:32:47 +00:00

12 lines
696 B
PHP

--- implementation/database/upgrade/2.1.x/transfer_images.php.orig Mon Aug 21 14:15:42 2006
+++ implementation/database/upgrade/2.1.x/transfer_images.php Mon Aug 21 14:17:36 2006
@@ -120,7 +120,7 @@
// $transferQuery = "INSERT INTO ImagesDup (Description, Photographer, Place, Date, ContentType, Location, URL, NrArticle, Number, Image) SELECT Description, Photographer, Place, Date, ContentType, 'local', '', NrArticle, Number, Image FROM Images";
// mysql_query($transferQuery);
- $thumbnailCommand = 'convert -sample 64x64';
+ $thumbnailCommand = 'gm convert -sample 64x64';
$queryStr = "SELECT Id, Image FROM ImagesDup";
$query = mysql_query($queryStr);
//mkdir($p_destDir, 0755);