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';