This commit is contained in:
2017-06-20 02:36:17 -07:00
parent a0705a54e4
commit 9352804246

View File

@@ -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");
@@ -740,8 +740,6 @@ if ($wopt_thumbs) {
$shellpath = escapeshellarg($pathname);
$tempfile = $tempdir."/".$fid.".jpg";
/*
// first try to make a thumb with external tools
$cmd = null;
if (in_array($ext, $t_files['vips'])) {
@@ -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;