Ignore:
Timestamp:
2006/09/18 18:17:11 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

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

    r5086 r5087  
    9090 
    9191    // ¥Ó¥å¡¼¤ÎºîÀ® 
    92     if(count($objPage->arrErr) == 0) { 
     92    if(count($objPage->arrErr) == 0 and $arrRet['db_type'] == 'pgsql') { 
    9393        // ¥Ó¥å¡¼¤ÎºîÀ® 
    94         //$objPage->arrErr = lfExecuteSQL("./create_view.sql", $arrRet['db_user'], $arrRet['db_password'], $arrRet['db_server'], $arrRet['db_name']);  
     94        $objPage->arrErr = lfExecuteSQL("./create_view.sql", $arrRet['db_user'], $arrRet['db_password'], $arrRet['db_server'], $arrRet['db_name'], $arrRet['db_type'], $arrRet['db_port']);  
    9595        if(count($objPage->arrErr) == 0) { 
    9696            $objPage->tpl_message.="¡û¡§¥Ó¥å¡¼¤ÎºîÀ®¤ËÀ®¸ù¤·¤Þ¤·¤¿¡£<br>"; 
     
    143143    // ÆþÎϥǡ¼¥¿¤òÅϤ¹¡£ 
    144144    $arrRet =  $objDBParam->getHashArray(); 
    145     // ¥Ó¥å¡¼¤Îºï½ü 
    146 //  $objPage->arrErr = lfExecuteSQL("./drop_view.sql", $arrRet['db_user'], $arrRet['db_password'], $arrRet['db_server'], $arrRet['db_name']);  
    147     if(count($objPage->arrErr) == 0) { 
    148         $objPage->tpl_message.="¡û¡§¥Ó¥å¡¼¤Îºï½ü¤ËÀ®¸ù¤·¤Þ¤·¤¿¡£<br>"; 
    149     } else { 
    150         $objPage->tpl_message.="¡ß¡§¥Ó¥å¡¼¤Îºï½ü¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£<br>";       
    151     } 
     145     
     146    if ($arrRet['db_type'] == 'pgsql'){ 
     147        // ¥Ó¥å¡¼¤Îºï½ü 
     148        $objPage->arrErr = lfExecuteSQL("./drop_view.sql", $arrRet['db_user'], $arrRet['db_password'], $arrRet['db_server'], $arrRet['db_name'], $arrRet['db_type'], $arrRet['db_port']);  
     149        if(count($objPage->arrErr) == 0) { 
     150            $objPage->tpl_message.="¡û¡§¥Ó¥å¡¼¤Îºï½ü¤ËÀ®¸ù¤·¤Þ¤·¤¿¡£<br>"; 
     151        } else { 
     152            $objPage->tpl_message.="¡ß¡§¥Ó¥å¡¼¤Îºï½ü¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£<br>";       
     153        } 
     154    } 
     155 
    152156 
    153157    // ¥Æ¡¼¥Ö¥ë¤Îºï½ü 
Note: See TracChangeset for help on using the changeset viewer.