Include Kirby from the outside - Docs missing

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');

Don’t know if there is any documentation, but this thread: Traversing content outside of templates

1 Like

Thanks! :slight_smile:

I’ll skip the last part. I will probably only use the Kirby database (ORM) class.