remove escapeshellcmd to avoid errors with parenthesis in file names

merge-requests/1/head
Julien Veyssier 2017-03-29 23:30:05 -03:00
parent e73789d211
commit acbd58b0e5
1 changed files with 1 additions and 3 deletions

View File

@ -206,9 +206,7 @@ class PageController extends Controller {
$cmdparams .= " $shella"; $cmdparams .= " $shella";
} }
exec( exec(
escapeshellcmd( $gpsbabel_path.' '.$cmdparams,
$gpsbabel_path.' '.$cmdparams
),
$output, $returnvar $output, $returnvar
); );
if (file_exists($gpx_target_clear_path)){ if (file_exists($gpx_target_clear_path)){