Custom Script with Kirby Core

Hey,

I have been wondering. If i were to implement kirby functions into another script, how would i embed the core?

Mainly I am interested to call the

http://getkirby.com/docs/cheatsheet/users/create

command from another php file which is not part of a template or does not require to accessed by visitors.

I have tried to require kirby/bootstrap.php with no success.

Best regards,

Carsten

What did your try precisely?

<?php
require('/path/to/kirby/bootstrap.php');
$kirby = kirby();

doesn’t give you a working $kirby object to work with?