mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Really allow command arguments from pfSsh.php
This commit is contained in:
parent
7184512000
commit
537bc12e14
@ -44,8 +44,9 @@ global $command_split;
|
||||
$branches = array("HEAD" => "Main development branch",
|
||||
"RELENG_1" => "1.2 Release branch",
|
||||
"RELENG_1_2" => "1.3 development branch");
|
||||
if($command_split[3]) {
|
||||
$branch = $command_split[3];
|
||||
|
||||
if($command_split[2]) {
|
||||
$branch = $command_split[2];
|
||||
} else {
|
||||
if(!$argv[3]) {
|
||||
echo "\nPlease select which branch you would like:\n\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user