Revision 1284
Added by Dietmar almost 15 years ago
install.php | ||
---|---|---|
89 | 89 |
|
90 | 90 |
$database->query($mod_news); |
91 | 91 |
|
92 |
$mod_search = "SELECT * FROM ".TABLE_PREFIX."search WHERE value = 'mod_wysiwyg_query'"; |
|
93 |
$database->query($mod_search); |
|
94 |
$insert_search = $database->is_error(); |
|
95 |
|
|
96 |
if( $insert_search ) |
|
92 |
$mod_search = "SELECT * FROM ".TABLE_PREFIX."search WHERE value = 'news'"; |
|
93 |
$insert_search = $database->query($mod_search); |
|
94 |
if( $insert_search->numRows() == 0 ) |
|
97 | 95 |
{ |
98 | 96 |
// Insert info into the search table |
99 | 97 |
// Module query info |
Also available in: Unified diff
to hold content, install don't drop existing tables (code, form, menu_link, news, wrapper, wysiwyg)
otherwise do it with uninstall