Revision 2110
Added by darkviper almost 10 years ago
- install/ change old install-struct format into new one
save.php | ||
---|---|---|
474 | 474 |
/***************************** |
475 | 475 |
Begin Create Database Tables |
476 | 476 |
*****************************/ |
477 |
$oSqlInst = new SqlInstall($database, __DIR__.'/sql/install-struct.sql');
|
|
477 |
$oSqlInst = new SqlImport($database, __DIR__.'/sql/install-struct.sql');
|
|
478 | 478 |
if ($oSqlInst) { |
479 | 479 |
if (!$oSqlInst->doImport('install')) { |
480 | 480 |
set_error($oSqlInst->getError()); |
481 | 481 |
} |
482 | 482 |
} |
483 |
$oSqlInst = new SqlInstall($database, __DIR__.'/sql/install-data.sql');
|
|
483 |
$oSqlInst = new SqlImport($database, __DIR__.'/sql/install-data.sql');
|
|
484 | 484 |
if ($oSqlInst) { |
485 | 485 |
if (!$oSqlInst->doImport('install')) { |
486 | 486 |
set_error($oSqlInst->getError()); |
Also available in: Unified diff