Revision 1389
Added by FrankH almost 15 years ago
- Security fixes for modules captcha_control, code and droplets
| save.php | ||
|---|---|---|
| 22 | 22 |
$update_when_modified = true; // Tells script to update when this page was last updated |
| 23 | 23 |
require(WB_PATH.'/modules/admin.php'); |
| 24 | 24 |
|
| 25 |
if (!$admin->checkFTAN()) |
|
| 26 |
{
|
|
| 27 |
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], ADMIN_URL); |
|
| 28 |
exit(); |
|
| 29 |
} |
|
| 30 |
|
|
| 25 | 31 |
// Update the mod_wysiwygs table with the contents |
| 26 | 32 |
if(isset($_POST['content'])) {
|
| 27 | 33 |
$tags = array('<?php', '?>' , '<?');
|
Also available in: Unified diff