fix pass argument shell_exe

pull/15/head
necro-nemesis 7 years ago
parent 07ae4b0666
commit 564bcbddd3

@ -635,7 +635,7 @@ function SaveTORAndVPNConfig(){
<?php
//echo "lokinet-bootstrap ", $bootstrap;
$escapedArgumment = escapeshellarg($bootstrap);
$output = shell_exec( 'sudo /home/pi/loki-network/lokilaunch.sh bootstrap $escapedArgumment' );
$output = shell_exec( "sudo /home/pi/loki-network/lokilaunch.sh bootstrap $escapedArgumment" );
echo "<pre>$output</pre>";
}

Loading…
Cancel
Save