Revision 543
Added by thorn almost 18 years ago
| add.php | ||
|---|---|---|
| 23 | 23 |
|
| 24 | 24 |
*/ |
| 25 | 25 |
|
| 26 |
// Nothing needs to be inserted anywhere special |
|
| 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("INSERT INTO `$table` (`page_id`, `section_id`, target_page_id) VALUES ('$page_id', '$section_id', '0')");
|
|
| 33 |
|
|
| 28 | 34 |
?> |
Also available in: Unified diff
module menu_link: fixed page-deleteing-bug and some odd behavior, added table mod_menu_link