From a212d736d5b0d6b62d456271bc0803a4f91a2acc Mon Sep 17 00:00:00 2001 From: n0nag0n Date: Thu, 15 Feb 2024 23:22:36 -0700 Subject: [PATCH] corrected template path in test servers --- tests/server-v2/index.php | 1 + tests/server/index.php | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/server-v2/index.php b/tests/server-v2/index.php index 2c6d129..1ebdd13 100644 --- a/tests/server-v2/index.php +++ b/tests/server-v2/index.php @@ -13,6 +13,7 @@ require file_exists(__DIR__ . '/../../vendor/autoload.php') ? __DIR__ . '/../../ Flight::set('flight.content_length', false); Flight::set('flight.views.path', './'); +Flight::set('flight.views.extension', '.phtml'); // This enables the old functionality of Flight output buffering Flight::set('flight.v2.output_buffering', true); diff --git a/tests/server/index.php b/tests/server/index.php index d70eabf..b3d5230 100644 --- a/tests/server/index.php +++ b/tests/server/index.php @@ -13,6 +13,7 @@ declare(strict_types=1); Flight::set('flight.content_length', false); Flight::set('flight.views.path', './'); +Flight::set('flight.views.extension', '.phtml'); //Flight::set('flight.v2.output_buffering', true); require_once 'LayoutMiddleware.php';