From 9352804246401a8d42c675a950f64ed4c0f43534 Mon Sep 17 00:00:00 2001 From: profiteroles Date: Tue, 20 Jun 2017 02:36:17 -0700 Subject: [PATCH] 0.6.0.1 --- Yuba.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Yuba.php b/Yuba.php index e1d0831..5206594 100755 --- a/Yuba.php +++ b/Yuba.php @@ -4,7 +4,7 @@ // Yuba // // ////////////////////////////////////////// -$version = "0.6.0"; +$version = "0.6.0.1"; ini_set('memory_limit', '4096M'); date_default_timezone_set("America/Los_Angeles"); @@ -739,8 +739,6 @@ if ($wopt_thumbs) { $shellpath = escapeshellarg($pathname); $tempfile = $tempdir."/".$fid.".jpg"; - - /* // first try to make a thumb with external tools $cmd = null; @@ -752,8 +750,6 @@ if ($wopt_thumbs) { if ($cmd) { shell_exec($cmd." 2>&1"); } - */ - // if those tools failed, try quicklook if (!@filesize($tempfile)) { $cmd = $bin_tq." ".$shellpath." ".$tempfile." public.jpeg-2000 ".$wopt_thumb_size." ".$wopt_thumb_size; @@ -782,7 +778,7 @@ if ($wopt_hash) { $dbh->exec("CREATE TABLE IF NOT EXISTS hash (fid TEXT, hash TEXT)"); if ($wopt_hash_limit) { - $message = "Generating hashes for files under".$wopt_hash_limit."GB"; + $message = "Generating hashes for files under ".$wopt_hash_limit."GB"; } else { $message = "Generating hashes for all files"; }