This commit is contained in:
2019-10-08 02:36:10 -07:00
parent d86b4852f9
commit 197c100c01
5 changed files with 14 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ $parser = new plistParser();
// Preferences
if (@$argv[1] == "Preferences...") {
exec($bin_php." ".__DIR__."/YubaPrefs.php 2>&1");
exec($bin_php." ".escapeshellarg(__DIR__."/YubaPrefs.php")." 2>&1");
die;
}
@@ -567,7 +567,7 @@ if ($p['thumbs']) {
foreach ($fx as $count => $array) {
$fid = $array[0];
$pathname = $array[1];
$tcmd = $bin_php." ".$helper." thumbs ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
$tcmd = $bin_php." ".escapeshellarg($helper)." thumbs ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
msg($tcmd);
$tline[] = $tcmd;
}
@@ -598,7 +598,7 @@ if ($p['icons']) {
foreach ($fx as $count => $array) {
$fid = $array[0];
$pathname = $array[1];
$icmd = $bin_php." ".$helper." icons ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
$icmd = $bin_php." ".escapeshellarg($helper)." icons ".$fid." ".escapeshellarg($pathname)." ".escapeshellarg($bpath)." ".$mytime."; echo ".ProgressBar::next();
msg($icmd);
$iline[] = $icmd;
}