From 0d0e5812dd483bebfbeb1dc3878dcdecde8d4c60 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 26 May 2023 08:36:20 +0200 Subject: [PATCH] Change step to $_REQUEST --- install/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/index.php b/install/index.php index 1c008c38..021bd184 100644 --- a/install/index.php +++ b/install/index.php @@ -26,13 +26,13 @@ $twig = new Twig_Environment($twig_loader, array( )); // load installation status -$step = isset($_POST['step']) ? $_POST['step'] : 'welcome'; +$step = $_REQUEST['step'] ?? 'welcome'; $install_status = array(); if(file_exists(CACHE . 'install.txt')) { $install_status = unserialize(file_get_contents(CACHE . 'install.txt')); - if(!isset($_POST['step'])) { + if(!isset($_REQUEST['step'])) { $step = isset($install_status['step']) ? $install_status['step'] : ''; } }