[geeklog-cvs] Geeklog-1.x/public_html/admin/install index.php, 1.6, 1.7 success.php, 1.14, 1.15

Aaron Blankstein ablankstein at qs1489.pair.com
Tue Aug 28 22:11:37 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install
In directory qs1489.pair.com:/tmp/cvs-serv525/Geeklog-1.x/public_html/admin/install

Modified Files:
	index.php success.php 
Log Message:
Added config class and admin UI. Also added modified install script for 
the new configuration class. 



Index: success.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/success.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** success.php	9 Aug 2007 05:04:58 -0000	1.14
--- success.php	29 Aug 2007 02:11:35 -0000	1.15
***************
*** 30,34 ****
  }
  
! $display .= '<li>' . $LANG_INSTALL[96] . ' <tt>' . $_CONF['path'] . 'config.php</tt> ' . $LANG_INSTALL[97] . '<tt>' . $_CONF['path_html'] . 'lib-common.php</tt> ' . $LANG_INSTALL[98] . ' 755.</li>
  </ul>
  </p>';
--- 30,34 ----
  }
  
! $display .= '<li>' . $LANG_INSTALL[96] . ' <tt>' . $_CONF['path'] . 'db-config.php</tt> ' . $LANG_INSTALL[97] . ' <tt>' . $_CONF['path_html'] . 'siteconfig.php</tt> ' . $LANG_INSTALL[98] . ' 755.</li>
  </ul>
  </p>';

Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/index.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** index.php	28 Aug 2007 07:33:59 -0000	1.6
--- index.php	29 Aug 2007 02:11:35 -0000	1.7
***************
*** 42,48 ****
  // this should help expose parse errors (e.g. in config.php) even when
  // display_errors is set to Off in php.ini
! 
! if (function_exists ( 'ini_set' )) {
!     ini_set ( 'display_errors', '1' );
  }
  error_reporting (E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR);
--- 42,47 ----
  // this should help expose parse errors (e.g. in config.php) even when
  // display_errors is set to Off in php.ini
[...2839 lines suppressed...]
              }
!             fclose ($siteconfig_file);
  
              // Continue to the next step: Fresh install or Upgrade
!             header('Location: index.php?mode=' . $_GET['op'] . '&dbconfig_path=' . urlencode($_PATH['db-config.php']) . '&language=' . $language);
  
          }
          break;
  
      /**
!      * Start the install/upgrade process
       */
!     case 'install' || 'upgrade':
  
+         INST_installEngine($mode, $step);
          break;
  
! }
  
  $display .= '




More information about the geeklog-cvs mailing list