[geeklog-hg] geeklog: 404 error produced when visited now if plugin disabled ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Jul 29 21:31:51 EDT 2013
changeset 9238:a8fab96dbae2
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/a8fab96dbae2
user: Tom <websitemaster at cogeco.net>
date: Mon Jul 29 21:31:05 2013 -0400
description:
404 error produced when visited now if plugin disabled (instead of a refresh to the homepage)
diffstat:
public_html/polls/index.php | 2 +-
public_html/staticpages/index.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r b783958811f0 -r a8fab96dbae2 public_html/polls/index.php
--- a/public_html/polls/index.php Mon Jul 29 21:30:41 2013 -0400
+++ b/public_html/polls/index.php Mon Jul 29 21:31:05 2013 -0400
@@ -45,7 +45,7 @@
require_once '../lib-common.php';
if (!in_array('polls', $_PLUGINS)) {
- echo COM_refresh($_CONF['site_url'] . '/index.php');
+ COM_handle404();
exit;
}
diff -r b783958811f0 -r a8fab96dbae2 public_html/staticpages/index.php
--- a/public_html/staticpages/index.php Mon Jul 29 21:30:41 2013 -0400
+++ b/public_html/staticpages/index.php Mon Jul 29 21:31:05 2013 -0400
@@ -44,7 +44,7 @@
require_once '../lib-common.php';
if (!in_array('staticpages', $_PLUGINS)) {
- echo COM_refresh($_CONF['site_url'] . '/index.php');
+ COM_handle404();
exit;
}
More information about the geeklog-cvs
mailing list