* Added header('Status:...') calls so that some CGI installations
of apache emit proper headers (garvinhicking)
This commit is contained in:
@ -54,6 +54,7 @@ if ($serendipity['smarty_raw_mode']) {
|
||||
$serendipity['smarty']->assign('head_subtitle', $serendipity['head_subtitle']);
|
||||
$serendipity['view'] = '404';
|
||||
serendipity_header('HTTP/1.0 404 Not found');
|
||||
serendipity_header('Status: 404 Not found');
|
||||
}
|
||||
|
||||
serendipity_printEntries($entry, 1);
|
||||
|
@ -849,7 +849,7 @@ class serendipity_plugin_api
|
||||
ob_end_clean();
|
||||
|
||||
if ($loggedin) {
|
||||
$content .= '<div class="serendipity_edit_nugget"><a href="' . $serendipity['serendipityHTTPPath'] . 'serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . htmlentities($plugin->instance) . '">' . ADMIN . ': ' . EDIT . '</a></div>';
|
||||
$content .= '<div class="serendipity_edit_nugget"><a href="' . $serendipity['serendipityHTTPPath'] . 'serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . htmlentities($plugin->instance) . '">' . EDIT . '</a></div>';
|
||||
}
|
||||
|
||||
if ($show_plugin !== false) {
|
||||
|
Reference in New Issue
Block a user