0.9.2 "Hatutu" Released!

Project Announcements. This is read-only, as in... not for problems/bugs/feature request.
Post Reply
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

0.9.2 "Hatutu" Released!

Post by Ted »

A rather serious site preference bug was notice after release (thanks Patricia). Anyway, here is the ChangeLog:

* Fixed bug in site preference loading

Thanks!
fredp

0.9.2 "Hatutu" Released!

Post by fredp »

Is there any way to do a quick upgrade?
Because doing the full upgrade is some way complicated for me.. :cry:

Is there something like a file to edit, or maybe (and this would be wonderful) a patch that upgrades only the files that changed?

Anyway, what files have changed?

Thanks :D
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

0.9.2 "Hatutu" Released!

Post by Ted »

Between 0.9.1 and 0.9.2:

ChangeLog
admin/siteprefs.php
include.php
version.php
fredp

0.9.2 "Hatutu" Released!

Post by fredp »

Thanks very much, I made a `diff` and this came out: it should be the patch from v0.9.1 to 0.9.2, it seems to work

If somebody wants to test it, apply it with 'patch -p1 < /path/to/patch.file' (don't know about windows ways) into the root directory of cms

Code: Select all

diff -Naur cmsmadesimple-0.9.1/ChangeLog cmsmadesimple-0.9.2/ChangeLog
--- cmsmadesimple-0.9.1/ChangeLog	2005-02-25 12:19:33.000000000 +0100
+++ cmsmadesimple-0.9.2/ChangeLog	2005-02-25 15:40:50.000000000 +0100
@@ -1,3 +1,8 @@
+Version 0.9.2 "Hatutu" -- Fri Feb 25 2005
+-----------------
+
+* Fixed bug in site preference loading
+
 Version 0.9.1 "Mohotani" -- Fri Feb 25 2005
 -----------------
 
diff -Naur cmsmadesimple-0.9.1/admin/siteprefs.php cmsmadesimple-0.9.2/admin/siteprefs.php
--- cmsmadesimple-0.9.1/admin/siteprefs.php	2005-02-25 12:19:16.000000000 +0100
+++ cmsmadesimple-0.9.2/admin/siteprefs.php	2005-02-25 15:40:32.000000000 +0100
@@ -16,7 +16,7 @@
 #along with this program; if not, write to the Free Software
 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
-#$Id: siteprefs.php 1389 2005-02-24 23:08:50Z wishy $
+#$Id: siteprefs.php 1401 2005-02-25 13:22:37Z wishy $
 
 $CMS_ADMIN_PAGE=1;
 
@@ -98,10 +98,7 @@
 	$sitedownmessage = get_site_preference('sitedownmessage');
 	$sitedownmessagetemplate = get_site_preference('sitedownmessagetemplate');
 	#$useadvancedcss = get_site_preference('useadvancedcss');
-	//ADDED
 	$logintheme = get_site_preference('logintheme', 'default');
-	//STOP
-
 }
 
 $templates = array();
diff -Naur cmsmadesimple-0.9.1/include.php cmsmadesimple-0.9.2/include.php
--- cmsmadesimple-0.9.1/include.php	2005-02-25 12:19:33.000000000 +0100
+++ cmsmadesimple-0.9.2/include.php	2005-02-25 15:40:50.000000000 +0100
@@ -16,7 +16,7 @@
 #along with this program; if not, write to the Free Software
 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
-#$Id: include.php 1395 2005-02-25 03:14:54Z wishy $
+#$Id: include.php 1401 2005-02-25 13:22:37Z wishy $
 
 /**
  * This file is included in every page.  It does all seutp functions including
@@ -115,8 +115,6 @@
 require_once(dirname(__FILE__)."/lib/classes/class.user.inc.php");
 require_once(dirname(__FILE__)."/lib/translation.functions.php");
 
-#Load all site preferences
-load_site_preferences();
 
 #Load content types
 $dir = dirname(__FILE__)."/lib/contenttypes";
@@ -166,6 +164,9 @@
 $gCms->cmsplugins = array();
 $gCms->siteprefs = array();
 
+#Load all site preferences
+load_site_preferences();
+
 #Load all installed module code
 if (isset($LOAD_ALL_MODULES))
 {
diff -Naur cmsmadesimple-0.9.1/version.php cmsmadesimple-0.9.2/version.php
--- cmsmadesimple-0.9.1/version.php	2005-02-25 12:19:33.000000000 +0100
+++ cmsmadesimple-0.9.2/version.php	2005-02-25 15:40:50.000000000 +0100
@@ -16,10 +16,10 @@
 #along with this program; if not, write to the Free Software
 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
-#$Id: version.php 1399 2005-02-25 11:18:47Z wishy $
+#$Id: version.php 1401 2005-02-25 13:22:37Z wishy $
 
-$CMS_VERSION = "0.9.1";
-$CMS_VERSION_NAME = "Mohotani";
+$CMS_VERSION = "0.9.2";
+$CMS_VERSION_NAME = "Hatutu";
 $CMS_SCHEMA_VERSION = "9";
 
 # vim:ts=4 sw=4 noet
Post Reply

Return to “Announcements”