kopia lustrzana https://github.com/magicbug/Cloudlog
Redirect to install page when configuration doesn't exist.
rodzic
860adbb7ab
commit
f9fb38c649
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue