tbrehm
2011-11-23 d06c20db2531cec31cc856bb534e81363b38f1bf
Fixed: FS#1877 - Redirect Bug
2 files modified
8 ■■■■ changed files
interface/web/sites/ajax_get_json.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/apps_vhost_plugin.inc.php 4 ●●●● 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;
        
        if($conf['services']['web'] == true) {
        return true;
        } else {
            return false;
        }
        
    }