From 119063342b5ffb7ba2c12844b60f61487fbc31e2 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 20 Jun 2023 20:32:23 +0200 Subject: [PATCH] csrf gallery --- module/gallery/view/config/config.php | 4 ++-- module/gallery/view/edit/edit.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/gallery/view/config/config.php b/module/gallery/view/config/config.php index 9e29e0d4..a1f4ac25 100644 --- a/module/gallery/view/config/config.php +++ b/module/gallery/view/config/config.php @@ -9,13 +9,13 @@
helper::baseUrl() . $this->getUrl(0) . '/option/galleries/' . $_SESSION['csrf'], + 'href' => helper::baseUrl() . $this->getUrl(0) . '/option/galleries/', 'value' => template::ico('sliders') ]); ?>
helper::baseUrl() . $this->getUrl(0) . '/theme/' . $_SESSION['csrf'], + 'href' => helper::baseUrl() . $this->getUrl(0) . '/theme/', 'value' => template::ico('brush') ]); ?>
diff --git a/module/gallery/view/edit/edit.php b/module/gallery/view/edit/edit.php index 4731108f..f80d3013 100644 --- a/module/gallery/view/edit/edit.php +++ b/module/gallery/view/edit/edit.php @@ -9,7 +9,7 @@
helper::baseUrl() . $this->getUrl(0) . '/option/gallery/' . $this->getUrl(2) . '/'. $_SESSION['csrf'], + 'href' => helper::baseUrl() . $this->getUrl(0) . '/option/gallery/' . $this->getUrl(2), 'value' => template::ico('sliders') ]); ?>