Revision 65
Added by stefan about 19 years ago
save.php | ||
---|---|---|
31 | 31 |
|
32 | 32 |
// Update the mod_wysiwygs table with the contents |
33 | 33 |
if(isset($_POST['content'])) { |
34 |
$tags = array('<?php', '?>', '<?'.'DB_URL');
|
|
34 |
$tags = array('<?php', '?>' , '<?');
|
|
35 | 35 |
$content = $admin->add_slashes(str_replace($tags, '', $_POST['content'])); |
36 | 36 |
$database = new database(); |
37 | 37 |
$query = "UPDATE ".TABLE_PREFIX."mod_code SET content = '$content' WHERE section_id = '$section_id'"; |
Also available in: Unified diff
Rolled back changeset 62,63.