Changeset 20351 for branches/version-2_5-dev/html/install/index.php
- Timestamp:
- 2011/02/23 19:43:29 (15 years ago)
- File:
-
- 1 edited
-
branches/version-2_5-dev/html/install/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/html/install/index.php
r20320 r20351 151 151 } 152 152 153 // ビューの作成154 if(count($objPage->arrErr) == 0 and $arrRet['db_type'] == 'pgsql') {155 // ビューの作成156 $objPage->arrErr = lfExecuteSQL("./sql/create_view.sql", $dsn);157 if(count($objPage->arrErr) == 0) {158 $objPage->tpl_message.="○:ビューの作成に成功しました。<br>";159 } else {160 $objPage->tpl_message.="×:ビューの作成に失敗しました。<br>";161 }162 }163 164 153 // 初期データの作成 165 154 if(count($objPage->arrErr) == 0) { … … 201 190 } 202 191 $dsn = $arrRet['db_type']."://".$arrRet['db_user'].":".$arrRet['db_password']."@".$arrRet['db_server'].":".$arrRet['db_port']."/".$arrRet['db_name']; 203 204 if ($arrRet['db_type'] == 'pgsql'){205 // ビューの削除206 $objPage->arrErr = lfExecuteSQL("./sql/drop_view.sql", $dsn, false);207 if(count($objPage->arrErr) == 0) {208 $objPage->tpl_message.="○:ビューの削除に成功しました。<br>";209 } else {210 $objPage->tpl_message.="×:ビューの削除に失敗しました。<br>";211 }212 }213 192 214 193 // テーブルの削除
Note: See TracChangeset
for help on using the changeset viewer.
