I’m quite sure that I’ve read docs about how to include Kirby from the outside, but I can’t find it again. Anyone knows the url to that docs?
Require bootstrap works
Now I load the bootstrap to have access to all the Kirby functions from the outside. It works but is it the correct way to do it?
define('DS', DIRECTORY_SEPARATOR);
require(__DIR__ . DS . 'kirby' . DS . 'bootstrap.php');