このコミットが含まれているのは:
たかし 2024-04-10 01:44:34 +00:00
コミット 75767481bb
2個のファイルの変更4行の追加5行の削除

ファイルの表示

@ -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;
}

1
view/footer.php ノーマルファイル
ファイルの表示

@ -0,0 +1 @@
</html>