[geeklog-hg] geeklog: Increased Calendar version to 1.1.4. 404 error produced...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Jul 29 21:31:50 EDT 2013


changeset 9236:dac8cef916bf
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/dac8cef916bf
user: Tom <websitemaster at cogeco.net>
date: Mon Jul 29 21:30:06 2013 -0400
description:
Increased Calendar version to 1.1.4. 404 error produced when visited now if plugin disabled (instead of a refresh to the homepage)

diffstat:

 plugins/calendar/autoinstall.php |  4 ++--
 plugins/calendar/functions.inc   |  5 +++++
 public_html/calendar/event.php   |  2 +-
 public_html/calendar/index.php   |  2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

diffs (53 lines):

diff -r fdf381a9ba69 -r dac8cef916bf plugins/calendar/autoinstall.php
--- a/plugins/calendar/autoinstall.php	Mon Jul 29 18:38:32 2013 -0400
+++ b/plugins/calendar/autoinstall.php	Mon Jul 29 21:30:06 2013 -0400
@@ -44,8 +44,8 @@
     $info = array(
         'pi_name'         => $pi_name,
         'pi_display_name' => $pi_display_name,
-        'pi_version'      => '1.1.3',
-        'pi_gl_version'   => '2.0.0',
+        'pi_version'      => '1.1.4',
+        'pi_gl_version'   => '2.0.1',
         'pi_homepage'     => 'http://www.geeklog.net/'
     );
 
diff -r fdf381a9ba69 -r dac8cef916bf plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc	Mon Jul 29 18:38:32 2013 -0400
+++ b/plugins/calendar/functions.inc	Mon Jul 29 21:30:06 2013 -0400
@@ -1639,6 +1639,11 @@
             $current_version = '1.1.3';
             break;            
 
+        case '1.1.3':
+            
+            $current_version = '1.1.4';
+            break;            
+
         default:
             $done = true;
             break;
diff -r fdf381a9ba69 -r dac8cef916bf public_html/calendar/event.php
--- a/public_html/calendar/event.php	Mon Jul 29 18:38:32 2013 -0400
+++ b/public_html/calendar/event.php	Mon Jul 29 21:30:06 2013 -0400
@@ -35,7 +35,7 @@
 require_once '../lib-common.php';
 
 if (!in_array('calendar', $_PLUGINS)) {
-    echo COM_refresh($_CONF['site_url'] . '/index.php');
+    COM_handle404();
     exit;
 }
 
diff -r fdf381a9ba69 -r dac8cef916bf public_html/calendar/index.php
--- a/public_html/calendar/index.php	Mon Jul 29 18:38:32 2013 -0400
+++ b/public_html/calendar/index.php	Mon Jul 29 21:30:06 2013 -0400
@@ -35,7 +35,7 @@
 require_once '../lib-common.php';
 
 if (!in_array('calendar', $_PLUGINS)) {
-    echo COM_refresh($_CONF['site_url'] . '/index.php');
+    COM_handle404();
     exit;
 }
 



More information about the geeklog-cvs mailing list