From d3318cfbbeccd096b135ef1ce18ced726c8902d8 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Mon, 9 Jun 2025 15:17:40 +0200 Subject: [PATCH] dev: Fix "template" options of Engine --- src/Application.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Application.php b/src/Application.php index 42c34c1..ae6435d 100644 --- a/src/Application.php +++ b/src/Application.php @@ -32,8 +32,8 @@ private function initApp(Request $request): void \Minz\Engine::init($router, [ 'start_session' => false, - 'not_found_view_pointer' => 'not_found.phtml', - 'internal_server_error_view_pointer' => 'internal_server_error.phtml', + 'not_found_template' => 'not_found.phtml', + 'internal_server_error_template' => 'internal_server_error.phtml', 'controller_namespace' => '\\Webubbub\\controllers', ]); } @@ -50,8 +50,8 @@ private function initCli(Request $request): void \Minz\Engine::init($router, [ 'start_session' => false, - 'not_found_view_pointer' => 'cli/not_found.txt', - 'internal_server_error_view_pointer' => 'cli/internal_server_error.txt', + 'not_found_template' => 'cli/not_found.txt', + 'internal_server_error_template' => 'cli/internal_server_error.txt', 'controller_namespace' => '\\Webubbub\\cli', ]);