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

feat(index): use flextype()->app()->run() instead bootstrap include #199

This commit is contained in:
Awilum
2021-07-28 21:07:37 +03:00
parent c2751e2f4b
commit 835eb30ebf

View File

@@ -249,8 +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/flextype.php';
flextype()->app()->run();
echo "<div style='position:absolute; bottom: 10px; left: 10px;'>";
echo "Time: " . Debug::elapsedTime('flextype');