test generate conditions

pull/15/head
necro-nemesis 7 years ago
parent 4fe4e6703f
commit 16b9fa6ec4

@ -364,7 +364,7 @@ function DisplayLokinetConfig(){
<div class="row"> <div class="row">
<div class="form-group col-lg-12"> <div class="form-group col-lg-12">
<label for="code">Update lokinet-bootstrap settings</label> <label for="code">Update lokinet-bootstrap settings</label>
<input type="text" class="form-control" name="loinetbootstrap" placeholder="http://206.81.100.174/n-st-5.signed" value="<?php echo htmlspecialchars($arrConfig['lokinetbootstrap'], ENT_QUOTES); ?>" /> <input type="text" class="form-control" name="lokinetbootstrap" placeholder="http://206.81.100.174/n-st-5.signed" value="<?php echo htmlspecialchars($arrConfig['lokinetbootstrap'], ENT_QUOTES); ?>" />
<h5>Contact Loki user groups for the latest bootstrap file location</h5> <h5>Contact Loki user groups for the latest bootstrap file location</h5>
<input type="submit" class="btn btn-success" name="ApplyLokinetSettings" value="Apply Bootstrap" /> <input type="submit" class="btn btn-success" name="ApplyLokinetSettings" value="Apply Bootstrap" />
<?php <?php
@ -611,7 +611,7 @@ function SaveTORAndVPNConfig(){
Generating Lokinet Configuration Generating Lokinet Configuration
</div> </div>
<?php <?php
} elseif( isset($_POST['ReGenerateLokinet']) ) { } else ( isset($_POST['ReGenerateLokinet']) ) {
exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen" > /dev/null &', $return); exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen" > /dev/null &', $return);
?> ?>
<div class="alert alert-warning"> <div class="alert alert-warning">

Loading…
Cancel
Save