Redirect to install page when configuration doesn't exist.
这个提交包含在:
父节点
64f7e7cc00
当前提交
ccabdeef2d
共有 1 个文件被更改,包括 3 次插入 和 2 次删除
|
|
@ -256,8 +256,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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用