This commit is contained in:
@@ -145,6 +145,19 @@ function get_vpn_url($domain,$passkey) {
|
|||||||
return $url;
|
return $url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function show_service($name, $containers) {
|
||||||
|
$str = '<div>'.$name."</div>";
|
||||||
|
$str .= '<div id="'.$name.'" style="padding-left: 20px">';
|
||||||
|
$containers = trim($containers);
|
||||||
|
$arr = explode(" ",$containers);
|
||||||
|
foreach ($arr as $container) {
|
||||||
|
$str .= $container."<br>";
|
||||||
|
}
|
||||||
|
$str .= '</div>';
|
||||||
|
|
||||||
|
echo $str;
|
||||||
|
}
|
||||||
|
|
||||||
// not in use
|
// not in use
|
||||||
function put_install_envs() {
|
function put_install_envs() {
|
||||||
|
|
||||||
|
8
scan.php
8
scan.php
@@ -1,14 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
include "functions.php";
|
include "functions.php";
|
||||||
|
|
||||||
function show_service($name, $containers) {
|
|
||||||
$str = '<div>'.$name."</div>";
|
|
||||||
$str .= '<div id="'.$name.'" style="padding-left: 20px">'.$containers.'
|
|
||||||
</div>';
|
|
||||||
|
|
||||||
echo $str;
|
|
||||||
}
|
|
||||||
|
|
||||||
sleep(1);
|
sleep(1);
|
||||||
switch ($_GET["op"]) {
|
switch ($_GET["op"]) {
|
||||||
case "redis":
|
case "redis":
|
||||||
|
Reference in New Issue
Block a user