does not 404 on rss (fixes rev59) - yay rev60! :D

This commit is contained in:
real_nowhereman 2008-02-11 07:56:16 +00:00
parent 509efe2188
commit ea7f5b9d83

View File

@ -132,6 +132,7 @@
global $fpdb, $smarty, $fp_config; global $fpdb, $smarty, $fp_config;
$params = array(); $params = array();
$module = 'index.tpl' ; $module = 'index.tpl' ;
$can404 = true;
if (!empty($_GET['entry'])) { if (!empty($_GET['entry'])) {
@ -153,6 +154,8 @@
} else { } else {
if (!empty($_GET['feed'])){ if (!empty($_GET['feed'])){
$can404=false;
switch($_GET['feed']) { switch($_GET['feed']) {
case 'atom': case 'atom':
@ -181,7 +184,7 @@
/* no entry found : 404 */ /* no entry found : 404 */
if (!$e) if (!$e && $can404)
$module = index_404error(); $module = index_404error();
return $module; return $module;