Subversion Repositories oidplus

Rev

Rev 1184 | Rev 1247 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1184 Rev 1245
Line 44... Line 44...
44
        }
44
        }
45
}
45
}
46
 
46
 
47
$static_node_id = OIDplus::prefilterQuery($static_node_id, false);
47
$static_node_id = OIDplus::prefilterQuery($static_node_id, false);
48
 
48
 
-
 
49
if (OIDplus::baseConfig()->exists('CANONICAL_SYSTEM_URL')) {
-
 
50
        // Make sure that "goto" is set correctly in the canonical URL
-
 
51
        $url = [];
-
 
52
        parse_str($_SERVER['QUERY_STRING'], $url);
-
 
53
        if (isset($url['goto'])) {
-
 
54
                if ($url['goto'] != $static_node_id) {
-
 
55
                        $url['goto'] = $static_node_id;
-
 
56
                        $_SERVER['QUERY_STRING'] = http_build_query($url);
-
 
57
                }
-
 
58
        }
-
 
59
        unset($url);
-
 
60
}
-
 
61
 
49
$static = OIDplus::gui()->generateContentPage($static_node_id);
62
$static = OIDplus::gui()->generateContentPage($static_node_id);
50
$page_title_2 = $static['title'];
63
$page_title_2 = $static['title'];
51
$static_icon = $static['icon'];
64
$static_icon = $static['icon'];
52
$static_content = $static['text'];
65
$static_content = $static['text'];
53
 
66