From 14dbee4bdb4db387c26c24435d2a8fd36d76ccbf Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Thu, 29 May 2025 10:20:16 +0200 Subject: [PATCH] fix: Fix defining templates in Engine config --- src/Application.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Application.php b/src/Application.php index 9c34d63..44406e6 100644 --- a/src/Application.php +++ b/src/Application.php @@ -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' => '\\taust\\cli', ]); @@ -96,8 +96,8 @@ private function initApp(Request $request): void \Minz\Engine::init($router, [ 'start_session' => true, - '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' => '\\taust\\controllers', ]);