declare global variable

pull/15/head
necro-nemesis 7 years ago
parent 0b3d2c4a34
commit 194fb61dd4

@ -388,6 +388,7 @@ function DisplayLokinetConfig(){
} else { } else {
echo '<input type="submit" class="btn btn-success" name="GenerateLokinet" value="Generate Lokinet.ini" />' , PHP_EOL; echo '<input type="submit" class="btn btn-success" name="GenerateLokinet" value="Generate Lokinet.ini" />' , PHP_EOL;
} }
$GLOBALS['lokinetbootstrap'] = $_POST['lokinetbootstrap'];
?> ?>
</div> </div>
</div> </div>
@ -630,7 +631,7 @@ function SaveTORAndVPNConfig(){
?> ?>
<div class="alert alert-warning"> <div class="alert alert-warning">
Applying Bootstrap <?php print_r($_POST["lokinetbootstrap"]); ?> Applying Bootstrap <?php echo $lokinetbootstrap; ?>
</div> </div>
<?php <?php
} }

Loading…
Cancel
Save