[geeklog-cvs] geeklog-1.3/public_html/admin/install install.php,1.52,1.52.2.1

dhaun at geeklog.net dhaun at geeklog.net
Sat Oct 25 12:38:50 EDT 2003


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

Modified Files:
      Tag: geeklog_1_3_8_1_1
	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.52
retrieving revision 1.52.2.1
diff -C2 -d -r1.52 -r1.52.2.1
*** install.php	7 Aug 2003 10:23:16 -0000	1.52
--- install.php	25 Oct 2003 16:38:47 -0000	1.52.2.1
***************
*** 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
***************
*** 259,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
--- 261,267 ----
  
  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