Skip to content

Commit

Permalink
work around for file system which is marked as noexec fixes Novik#997
Browse files Browse the repository at this point in the history
  • Loading branch information
DipSwitch committed Jan 24, 2015
1 parent 587639a commit d5427a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/getplugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function findRemoteEXE( $exe, $err, &$remoteRequests )
$add = '';
if(isset($pathToExternals[$exe]) && !empty($pathToExternals[$exe]))
$add = " ".escapeshellarg($pathToExternals[$exe]);
$req = new rXMLRPCRequest(new rXMLRPCCommand("execute", array( "sh", "-c", escapeshellarg(addslash($path)."test.sh")." ".$exe." ".escapeshellarg($st).$add)));
$req = new rXMLRPCRequest(new rXMLRPCCommand("execute", array( "sh", "-c", "/bin/sh ".escapeshellarg(addslash($path)."test.sh")." ".$exe." ".escapeshellarg($st).$add)));
$req->run();
$remoteRequests[$exe] = array( "path"=>$st, "err"=>array() );
}
Expand Down

0 comments on commit d5427a5

Please sign in to comment.