Subversion Repositories oidplus

Rev

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

Rev 1066 Rev 1116
Line 32... Line 32...
32
 
32
 
33
$static_node_id = isset($_REQUEST['goto']) ? $_REQUEST['goto'] : 'oidplus:system';
33
$static_node_id = isset($_REQUEST['goto']) ? $_REQUEST['goto'] : 'oidplus:system';
34
 
34
 
35
if (isset($_REQUEST['h404'])) {
35
if (isset($_REQUEST['h404'])) {
36
        $handled = false;
36
        $handled = false;
37
        $plugins = OIDplus::getPagePlugins();
37
        $plugins = OIDplus::getAllPlugins();
38
        foreach ($plugins as $plugin) {
38
        foreach ($plugins as $plugin) {
39
                if ($plugin->handle404($_REQUEST['h404'])) $handled = true;
39
                if ($plugin->handle404($_REQUEST['h404'])) $handled = true;
40
        }
40
        }
41
        if (!$handled) {
41
        if (!$handled) {
42
                header('Location:'.OIDplus::webpath().'?goto='.urlencode('oidplus:err:'.$_REQUEST['h404']));
42
                header('Location:'.OIDplus::webpath().'?goto='.urlencode('oidplus:err:'.$_REQUEST['h404']));