From d72fdff5ee7a25c39d40800fe4d584f78f12d936 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 2 Oct 2004 22:46:11 +0000 Subject: [PATCH] admin/xxx is now using sesskey. Merged from MOODLE_14_STABLE --- backup/config.html | 1 + backup/log.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backup/config.html b/backup/config.html index a824f4eff2..5bf164a91e 100644 --- a/backup/config.html +++ b/backup/config.html @@ -82,6 +82,7 @@ $keep_array[500] = "500"; ?>
+sesskey."\">"; ?> diff --git a/backup/log.php b/backup/log.php index 9676a52f1f..41e9df5404 100644 --- a/backup/log.php +++ b/backup/log.php @@ -40,7 +40,7 @@ print_header("$site->shortname: $strconfiguration: $strbackup", $site->fullname, "admin/index.php\">$stradmin -> ". "admin/configure.php\">$strconfiguration -> ". - "admin/backup.php\">$strbackup -> ". + "admin/backup.php?sesskey=$USER->sesskey\">$strbackup -> ". $strlogs); print_heading($backuploglaststatus); @@ -86,7 +86,7 @@ print_header("$site->shortname: $strconfiguration: $strbackup", $site->fullname, "admin/index.php\">$stradmin -> ". "admin/configure.php\">$strconfiguration -> ". - "admin/backup.php\">$strbackup -> ". + "admin/backup.php?sesskey=$USER->sesskey\">$strbackup -> ". "$strlogs -> ". $strbackupdetails); -- 2.39.5