fix markup
このコミットが含まれているのは:
コミット
75767481bb
|
@ -17,11 +17,8 @@ function has_cookie() {
|
|||
}
|
||||
|
||||
function on_error($code, $errors) {
|
||||
http_response_code(400);
|
||||
if (function_exists('bibis_http_header')) { bibis_http_header(); }
|
||||
|
||||
$view['errors'] = $errors;
|
||||
require(__DIR__ . '/../view/header.php');
|
||||
output_html($view, ['header.php']);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -31,8 +28,9 @@ function output_html($view, $_components) {
|
|||
if (function_exists('bibis_http_header')) { bibis_http_header(); }
|
||||
|
||||
foreach ($_components as $_name) {
|
||||
require(__DIR__ . "/../view/$_name");
|
||||
require __DIR__."/../view/$_name";
|
||||
}
|
||||
require __DIR__.'/../view/footer.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
</html>
|
読み込み中…
新しいイシューから参照