[geeklog-cvs] geeklog-1.3/public_html/admin/install install.php,1.65,1.66

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Thu Aug 5 03:36:16 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/admin/install
In directory www:/tmp/cvs-serv22859/public_html/admin/install

Modified Files:
	install.php 
Log Message:
Update static pages version number to 1.4.1


Index: install.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/install/install.php,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** install.php	9 May 2004 09:13:24 -0000	1.65
--- install.php	5 Aug 2004 07:36:13 -0000	1.66
***************
*** 287,291 ****
  
          for ($i = 0; $i < $numrows; $i++) {
!             $A = DB_fetchArray ($result);
              if ($A[0] == 'sp_nf') {
                  $retval = 3; // v1.3
--- 287,291 ----
  
          for ($i = 0; $i < $numrows; $i++) {
!             $A = DB_fetchArray ($result, true);
              if ($A[0] == 'sp_nf') {
                  $retval = 3; // v1.3
***************
*** 600,603 ****
--- 600,610 ----
              }
              commentsToPreorderTree();
+ 
+             $spversion = get_SP_ver ();
+             if ($spversion > 0) {
+                 // no database changes this time, but set new version number
+                 DB_query ("UPDATE {$_TABLES['plugins']} SET pi_version = '1.4.1' WHERE pi_name = 'staticpages'");
+             }
+ 
              $current_gl_version = '1.3.10';
              break;




More information about the geeklog-cvs mailing list