summaryrefslogtreecommitdiffstats
path: root/gen_thumbs.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-30 07:26:00 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-30 07:26:00 +0000
commit6a21b6f00cf2d164a0ba5fc14739162cecc77b45 (patch)
tree4dcaed8173c4cd37ffa91c9f48bdeb0dfa386c92 /gen_thumbs.php
parentb7f5e6235288878a71e7df1bf586e9352096f74a (diff)
some cleanup in gen_thumb code
git-svn-id: file:///var/lib/svn/phpfspot/trunk@134 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'gen_thumbs.php')
-rwxr-xr-xgen_thumbs.php3
1 files changed, 2 insertions, 1 deletions
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);
}
?>