Revision 1494
Added by Luisehahne over 14 years ago
| details.php | ||
|---|---|---|
| 33 | 33 |
header("Location: index.php");
|
| 34 | 34 |
exit(0); |
| 35 | 35 |
} else {
|
| 36 |
$file = preg_replace("/\W/", "", $_POST['file']); // fix secunia 2010-92-2
|
|
| 36 |
$file = preg_replace('/[^a-z0-9_-]/i', "", $_POST['file']); // fix secunia 2010-92-2
|
|
| 37 | 37 |
} |
| 38 | 38 |
|
| 39 | 39 |
// Check if the template exists |
Also available in: Unified diff
Fixed save wrong template directory in database