0.7.13.1
This commit is contained in:
@@ -17,6 +17,7 @@ $bin_qltool = __DIR__."/bin/qltool";
|
||||
$bin_sox = __DIR__."/bin/sox";
|
||||
$bin_pngquant = __DIR__."/bin/pngquant";
|
||||
$bin_parallel = __DIR__."/bin/parallel";
|
||||
$bin_convert = __DIR__."/bin/convert";
|
||||
|
||||
// System tools
|
||||
$bin_php = "php";
|
||||
@@ -24,12 +25,10 @@ $bin_qlmanage = "qlmanage";
|
||||
$bin_sips = "sips";
|
||||
|
||||
// External tools
|
||||
$bin_convert = "/opt/local/bin/convert";
|
||||
$bin_vips = "/opt/local/bin/vipsthumbnail";
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
if (empty(shell_exec("which ".$bin_convert))) { echo "Binary not found: ".$bin_convert."\n"; }
|
||||
if (empty(shell_exec("which ".$bin_vips))) { echo "Binary not found: ".$bin_vips."\n"; }
|
||||
|
||||
if (empty($argv[2])) { echo "Nothing dragged"; die; }
|
||||
|
||||
Reference in New Issue
Block a user