mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Redirect to install page when configuration doesn't exist.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user