1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-05 04:37:43 +02:00

feat(index): use require_once instead of include

This commit is contained in:
Awilum
2021-08-10 11:09:37 +03:00
parent 35c0db4415
commit 0f84b3758d

View File

@@ -249,9 +249,7 @@ $flextypeLoader = require_once $flextypeAutoload;
* will load up this application so that we can run it and send
* the responses back to the browser and delight our users.
*/
include __DIR__ . '/src/flextype/bootstrap.php';
require_once __DIR__ . '/src/flextype/flextype.php';
echo "<div style='position:absolute; bottom: 10px; left: 10px;'>";
echo "Time: " . Debug::elapsedTime('flextype');