diff --git a/Pages/Page.php b/Pages/Page.php index 6ad595167..24dc691a4 100644 --- a/Pages/Page.php +++ b/Pages/Page.php @@ -1,9 +1,7 @@ 'dependencies_missing', + 'message' => 'Application dependencies are not installed. Run "composer install" in the project root.', + ], + JSON_UNESCAPED_SLASHES + ); + exit; + } + + if (!headers_sent()) { + header('Content-Type: text/html; charset=utf-8', true, 503); + } + + echo <<<'HTML' + + +
+ + +Composer dependencies are missing, so LibreBooking cannot start yet.
+From the project root, run composer install, then reload this page.