Skip to content
Snippets Groups Projects
Commit d06c20db authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1877 - Redirect Bug

parent f442da03
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ $server_id = intval($_GET["server_id"]);
$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 @@ if($_SESSION["s"]["user"]["typ"] == 'admin') {
$json .= '"}';
}
}
//}
echo $json;
?>
\ No newline at end of file
......@@ -39,7 +39,11 @@ class apps_vhost_plugin {
function onInstall() {
global $conf;
return true;
if($conf['services']['web'] == true) {
return true;
} else {
return false;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment