Skip to content

Commit

Permalink
Clean sessioncookie variable
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Dec 18, 2003
1 parent bd741d5 commit 34edc3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/config.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
if (count($err) == 0) { if (count($err) == 0) {
print_header(); print_header();
foreach ($config as $name => $value) { foreach ($config as $name => $value) {
if ($name == "sessioncookie") {
$value = clean_filename($value);
}
unset($conf); unset($conf);
$conf->name = $name; $conf->name = $name;
$conf->value = $value; $conf->value = $value;
Expand Down

0 comments on commit 34edc3a

Please sign in to comment.