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)
|
elseif ( ! $found)
|
||||||
{
|
{
|
||||||
set_status_header(503);
|
// set_status_header(301);
|
||||||
echo 'The configuration file does not exist.';
|
header('Location: install/');
|
||||||
|
// echo 'The configuration file does not exist.';
|
||||||
exit(3); // EXIT_CONFIG
|
exit(3); // EXIT_CONFIG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue