[geeklog-cvs] geeklog-1.3/public_html/admin/install install.php,1.56,1.57

dhaun at geeklog.net dhaun at geeklog.net
Sat Oct 25 12:40:52 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin/install
In directory geeklog_prod:/tmp/cvs-serv4059

Modified Files:
	install.php 
Log Message:
Make sure we're displaying SQL errors during install.


Index: install.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/install/install.php,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** install.php	20 Sep 2003 17:36:20 -0000	1.56
--- install.php	25 Oct 2003 16:40:50 -0000	1.57
***************
*** 163,167 ****
  function INST_createDatabaseStructures()
  {
!     global $_CONF, $_DB_dbms, $_DB_host, $_DB_user, $_DB_pass, $_TABLES;
  
      // Because the create table syntax can vary from dbms-to-dbms we are
--- 163,169 ----
  function INST_createDatabaseStructures()
  {
!     global $_CONF, $_DB, $_DB_dbms, $_DB_host, $_DB_user, $_DB_pass, $_TABLES;
! 
!     $_DB->setDisplayError (true);
  
      // Because the create table syntax can vary from dbms-to-dbms we are
***************
*** 258,263 ****
  }
  
! function INST_doDatabaseUpgrades($current_gl_version, $table_prefix) {
!     global $_TABLES, $_CONF, $_DB_dbms, $_DB_table_prefix;
  
      // Because the upgrade sql syntax can vary from dbms-to-dbms we are
--- 260,268 ----
  }
  
! function INST_doDatabaseUpgrades($current_gl_version, $table_prefix)
! {
!     global $_TABLES, $_CONF, $_DB, $_DB_dbms, $_DB_table_prefix;
! 
!     $_DB->setDisplayError (true);
  
      // Because the upgrade sql syntax can vary from dbms-to-dbms we are





More information about the geeklog-cvs mailing list