[geeklog-hg] geeklog: Increased Links version to 2.1.3. 404 error produced wh...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Jul 29 21:31:51 EDT 2013
changeset 9237:b783958811f0
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/b783958811f0
user: Tom <websitemaster at cogeco.net>
date: Mon Jul 29 21:30:41 2013 -0400
description:
Increased Links version to 2.1.3. 404 error produced when visited now if plugin disabled (instead of a refresh to the homepage)
diffstat:
plugins/links/autoinstall.php | 4 ++--
plugins/links/functions.inc | 5 +++++
public_html/links/index.php | 2 +-
public_html/links/portal.php | 2 +-
4 files changed, 9 insertions(+), 4 deletions(-)
diffs (53 lines):
diff -r dac8cef916bf -r b783958811f0 plugins/links/autoinstall.php
--- a/plugins/links/autoinstall.php Mon Jul 29 21:30:06 2013 -0400
+++ b/plugins/links/autoinstall.php Mon Jul 29 21:30:41 2013 -0400
@@ -51,8 +51,8 @@
$info = array(
'pi_name' => $pi_name,
'pi_display_name' => $pi_display_name,
- 'pi_version' => '2.1.2',
- 'pi_gl_version' => '2.0.0',
+ 'pi_version' => '2.1.3',
+ 'pi_gl_version' => '2.0.1',
'pi_homepage' => 'http://www.geeklog.net/'
);
diff -r dac8cef916bf -r b783958811f0 plugins/links/functions.inc
--- a/plugins/links/functions.inc Mon Jul 29 21:30:06 2013 -0400
+++ b/plugins/links/functions.inc Mon Jul 29 21:30:41 2013 -0400
@@ -793,6 +793,11 @@
$current_version = '2.1.2';
break;
+ case '2.1.2':
+
+ $current_version = '2.1.3';
+ break;
+
default:
$done = true;
}
diff -r dac8cef916bf -r b783958811f0 public_html/links/index.php
--- a/public_html/links/index.php Mon Jul 29 21:30:06 2013 -0400
+++ b/public_html/links/index.php Mon Jul 29 21:30:41 2013 -0400
@@ -59,7 +59,7 @@
require_once '../lib-common.php';
if (!in_array('links', $_PLUGINS)) {
- echo COM_refresh($_CONF['site_url'] . '/index.php');
+ COM_handle404();
exit;
}
diff -r dac8cef916bf -r b783958811f0 public_html/links/portal.php
--- a/public_html/links/portal.php Mon Jul 29 21:30:06 2013 -0400
+++ b/public_html/links/portal.php Mon Jul 29 21:30:41 2013 -0400
@@ -56,7 +56,7 @@
require_once '../lib-common.php';
if (!in_array('links', $_PLUGINS)) {
- echo COM_refresh($_CONF['site_url'] . '/index.php');
+ COM_handle404();
exit;
}
More information about the geeklog-cvs
mailing list