Subversion Repositories oidplus

Rev

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

Rev 866 Rev 946
Line 27... Line 27...
27
 
27
 
28
OIDplus::init(true);
28
OIDplus::init(true);
29
 
29
 
30
$static_node_id = isset($_REQUEST['goto']) ? $_REQUEST['goto'] : 'oidplus:system';
30
$static_node_id = isset($_REQUEST['goto']) ? $_REQUEST['goto'] : 'oidplus:system';
31
 
31
 
-
 
32
if (isset($_REQUEST['h404'])) {
-
 
33
        $handled = false;
-
 
34
        $plugins = OIDplus::getPagePlugins();
-
 
35
        foreach ($plugins as $plugin) {
-
 
36
                if ($plugin->handle404($_REQUEST['h404'])) $handled = true;
-
 
37
        }
-
 
38
        if (!$handled) {
-
 
39
                header('Location:'.OIDplus::webpath().'?goto='.urlencode('oidplus:err:'.$_REQUEST['h404']));
-
 
40
                die();
-
 
41
        }
-
 
42
}
-
 
43
 
32
$static_node_id = OIDplus::prefilterQuery($static_node_id, false);
44
$static_node_id = OIDplus::prefilterQuery($static_node_id, false);
33
 
45
 
34
$static = OIDplus::gui()->generateContentPage($static_node_id);
46
$static = OIDplus::gui()->generateContentPage($static_node_id);
35
$static_title = $static['title'];
47
$static_title = $static['title'];
36
$static_icon = $static['icon'];
48
$static_icon = $static['icon'];