From 6a21b6f00cf2d164a0ba5fc14739162cecc77b45 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 30 Jun 2007 07:26:00 +0000 Subject: some cleanup in gen_thumb code git-svn-id: file:///var/lib/svn/phpfspot/trunk@134 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- gen_thumbs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gen_thumbs.php') diff --git a/gen_thumbs.php b/gen_thumbs.php index d8e384a..4e621dc 100755 --- a/gen_thumbs.php +++ b/gen_thumbs.php @@ -4,11 +4,12 @@ require_once "phpfspot.class.php"; $fspot = new PHPFSPOT; +$fspot->fromcmd = true; $all = $fspot->getPhotoSelection(); foreach($all as $photo) { - $fspot->gen_thumb($photo, 'fromcmd'); + $fspot->gen_thumb($photo); } ?> -- cgit v1.2.3-18-g5258