When the application is running in a serverless environment like Vapor or only bootstrapped once like Octane, the index.php file is never executed for every request, and thus, the constant LARAVEL_START is never defined.
I added a fallback in case the constant is not defined.
When the application is running in a serverless environment like Vapor or only bootstrapped once like Octane, the
index.php
file is never executed for every request, and thus, the constantLARAVEL_START
is never defined.I added a fallback in case the constant is not defined.
Closes #146