diff --git a/includes/functions.php b/includes/functions.php index 47278fd..78d3f72 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -596,64 +596,70 @@ function SaveTORAndVPNConfig() foreach ($return as $line) { echo htmlspecialchars($line, ENT_QUOTES).'
' , PHP_EOL; } +/* Lokinet script commands start HERE +//// +//// LOKINET +//// +//*/ + + //START } elseif (isset($_POST['StartDaemon'])) { - ?> + ?>
- Launching Lokinet. + Launching Lokinet.
$output"; + echo "
$output
"; + + //STOP } elseif (isset($_POST['StopDaemon'])) { - ?> + ?>
- Exiting Lokinet. + Exiting Lokinet.
- Stopping Lokinet background daemon process. + Stopping Lokinet background daemon process.
$output"; + echo "
$output
"; + + //GENERATE LOKINET.INI } elseif (isset($_POST['GenerateLokinet'])) { - ?> + ?>
- Generating Lokinet Configuration + Generating Lokinet Configuration
$output"; + echo "
$output
"; + + //REGENERATE LOKINET.INI } elseif (isset($_POST['ReGenerateLokinet'])) { - ?> + ?>
- Regenerating Lokinet Configuration + Regenerating Lokinet Configuration
$output"; + echo "
$output
"; + + //APPLY LOKINET-BOOTSTRAP } elseif (isset($_POST['ApplyLokinetSettings'])) { - ?> -
- Exiting Lokinet. -
- -
+ ?> +
Stopping Lokinet background daemon process. -
- $output"; - $bootstrap = $_POST['lokinetbootstrap']; - ?> -
+
+
Applying Bootstrap -
- + $output"; } }