interface/web/sites/ajax_get_json.php | ●●●●● patch | view | raw | blame | history | |
server/plugins-available/apps_vhost_plugin.inc.php | ●●●●● patch | view | raw | blame | history |
interface/web/sites/ajax_get_json.php
@@ -38,7 +38,7 @@ $web_id = intval($_GET["web_id"]); $type = $_GET["type"]; if($_SESSION["s"]["user"]["typ"] == 'admin') { //if($_SESSION["s"]["user"]["typ"] == 'admin') { if($type == 'getservertype'){ $json = '{"servertype":"'; @@ -60,7 +60,7 @@ $json .= '"}'; } } //} echo $json; ?> server/plugins-available/apps_vhost_plugin.inc.php
@@ -39,7 +39,11 @@ function onInstall() { global $conf; return true; if($conf['services']['web'] == true) { return true; } else { return false; } }