Files
intranet/public/install/next_step.php

21 lines
354 B
PHP
Raw Normal View History

2020-12-01 17:23:13 -03:00
<?php
include_once dirname(dirname(__DIR__)) . '/bootstrap/autoload.php';
sanitize();
$steps = [
'create_user_base',
'log_locations',
'create_guest',
'create_admin',
'end_install'
];
if (get('step') == null) {
$next = $steps[0];
} else {
$next = $steps[array_search(get('step'), $steps) + 1];
}
header('Location: ' . $next . '.php');
?>