index.php
changeset 61 e9708657875a
parent 42 45ebe475ff75
child 69 63638a42cee9
equal deleted inserted replaced
60:71b50f8c8f85 61:e9708657875a
    54       $rev_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 );
    54       $rev_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 );
    55       $page = new PageProcessor( $paths->cpage['urlname_nons'], $paths->namespace, $rev_id );
    55       $page = new PageProcessor( $paths->cpage['urlname_nons'], $paths->namespace, $rev_id );
    56       $page->send_headers = true;
    56       $page->send_headers = true;
    57       $pagepass = ( isset($_REQUEST['pagepass']) ) ? sha1($_REQUEST['pagepass']) : '';
    57       $pagepass = ( isset($_REQUEST['pagepass']) ) ? sha1($_REQUEST['pagepass']) : '';
    58       $page->password = $pagepass;
    58       $page->password = $pagepass;
    59       $page->send();
    59       $page->send(true);
    60       break;
    60       break;
    61     case 'comments':
    61     case 'comments':
    62       $template->header();
    62       $template->header();
    63       $sub = ( isset ($_GET['sub']) ) ? $_GET['sub'] : false;
    63       $sub = ( isset ($_GET['sub']) ) ? $_GET['sub'] : false;
    64       switch($sub)
    64       switch($sub)