[geeklog-hg] geeklog: Staticpage plugin now uses COM_handle404 for pages that...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Apr 3 15:19:34 EDT 2013


changeset 9029:a058d95c078f
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/a058d95c078f
user: Tom <websitemaster at cogeco.net>
date: Wed Apr 03 09:31:47 2013 -0400
description:
Staticpage plugin now uses COM_handle404 for pages that do not exist

diffstat:

 plugins/staticpages/services.inc.php |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 0ca924e03ea3 -r a058d95c078f plugins/staticpages/services.inc.php
--- a/plugins/staticpages/services.inc.php	Tue Apr 02 20:31:06 2013 -0400
+++ b/plugins/staticpages/services.inc.php	Wed Apr 03 09:31:47 2013 -0400
@@ -782,9 +782,8 @@
                         $output = COM_createHTMLDocument($output, array('rightblock' => true));
                     }
                 } else {
-                    $output .= COM_showMessageText($LANG_STATIC['deny_msg'], $LANG_ACCESS['accessdenied']);
                     if ($mode !== 'autotag') {
-                        $output = COM_createHTMLDocument($output, array('rightblock' => true));
+                        COM_handle404();   
                     }
                 }
             }



More information about the geeklog-cvs mailing list