Revision 543
Added by thorn almost 18 years ago
| install.php | ||
|---|---|---|
| 23 | 23 |
|
| 24 | 24 |
*/ |
| 25 | 25 |
|
| 26 |
// No table is needed for this module |
|
| 26 |
// prevent this file from being accesses directly |
|
| 27 |
if(defined('WB_PATH') == false) {
|
|
| 28 |
exit("Cannot access this file directly");
|
|
| 29 |
} |
|
| 27 | 30 |
|
| 31 |
$table = TABLE_PREFIX ."mod_menu_link"; |
|
| 32 |
$database->query("DROP TABLE IF EXISTS `$table`");
|
|
| 33 |
|
|
| 34 |
$database->query("
|
|
| 35 |
CREATE TABLE `$table` ( |
|
| 36 |
`section_id` INT(11) NOT NULL DEFAULT '0', |
|
| 37 |
`page_id` INT(11) NOT NULL DEFAULT '0', |
|
| 38 |
`target_page_id` INT(11) NOT NULL DEFAULT '0', |
|
| 39 |
PRIMARY KEY (`section_id`) |
|
| 40 |
) |
|
| 41 |
"); |
|
| 42 |
|
|
| 28 | 43 |
?> |
Also available in: Unified diff
module menu_link: fixed page-deleteing-bug and some odd behavior, added table mod_menu_link