roots->index = __DIR__; // only used in tests but let's fix it anyway $kirby->roots->kirby = __DIR__ . '/vendor/getkirby/kirby'; // check for a custom site.php if (file_exists(__DIR__ . '/site.php')) { require(__DIR__ . '/site.php'); } // render echo $kirby->launch();