Redirect to install page when configuration doesn't exist.

pull/1377/head
Tomasz 2022-01-18 23:13:52 +01:00 zatwierdzone przez Peter Goodhall
rodzic 860adbb7ab
commit f9fb38c649
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -255,8 +255,9 @@ if ( ! function_exists('get_config'))
}
elseif ( ! $found)
{
set_status_header(503);
echo 'The configuration file does not exist.';
// set_status_header(301);
header('Location: install/');
// echo 'The configuration file does not exist.';
exit(3); // EXIT_CONFIG
}