mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-29 18:59:21 +02:00
Change step to $_REQUEST
This commit is contained in:
parent
61c2661377
commit
0d0e5812dd
@ -26,13 +26,13 @@ $twig = new Twig_Environment($twig_loader, array(
|
|||||||
));
|
));
|
||||||
|
|
||||||
// load installation status
|
// load installation status
|
||||||
$step = isset($_POST['step']) ? $_POST['step'] : 'welcome';
|
$step = $_REQUEST['step'] ?? 'welcome';
|
||||||
|
|
||||||
$install_status = array();
|
$install_status = array();
|
||||||
if(file_exists(CACHE . 'install.txt')) {
|
if(file_exists(CACHE . 'install.txt')) {
|
||||||
$install_status = unserialize(file_get_contents(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'] : '';
|
$step = isset($install_status['step']) ? $install_status['step'] : '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user