mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Clean sessioncookie variable
This commit is contained in:
parent
bd741d50f8
commit
34edc3ad1b
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@
|
|||
if (count($err) == 0) {
|
||||
print_header();
|
||||
foreach ($config as $name => $value) {
|
||||
if ($name == "sessioncookie") {
|
||||
$value = clean_filename($value);
|
||||
}
|
||||
unset($conf);
|
||||
$conf->name = $name;
|
||||
$conf->value = $value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue