Changeset 6257 for temp/trunk/html


Ignore:
Timestamp:
2006/10/13 13:03:33 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/install/index.php

    r6256 r6257  
    77require_once("../require.php"); 
    88$INSTALL_DIR = realpath(dirname( __FILE__)); 
     9 
     10define('DB_DEBUG', 12); 
     11 
    912class LC_Page { 
    1013    function LC_Page() { 
     
    530533        $dsn = $arrRet['db_type']."://".$arrRet['db_user'].":".$arrRet['db_password']."@".$arrRet['db_server'].":".$arrRet['db_port']."/".$arrRet['db_name']; 
    531534        // Debug¥â¡¼¥É»ØÄê 
    532         $options['debug'] = 9; 
     535        $options['debug'] = DB_DEBUG; 
    533536        $objDB = DB::connect($dsn, $options); 
    534537        // Àܳ¥¨¥é¡¼ 
     
    573576         
    574577        gfPrintLog("nn", "./temp/install.log"); 
    575          
    576         $objDB = DB::connect($dsn); 
     578        // Debug¥â¡¼¥É»ØÄê 
     579        $options['debug'] = DB_DEBUG; 
     580        $objDB = DB::connect($dsn, $options); 
    577581         
    578582            gfPrintLog("nn", "./temp/install.log"); 
Note: See TracChangeset for help on using the changeset viewer.