$kirby->root('models')
Returns the root of the models folder.
Example
Custom setup
If you want to overwrite the root you can do this in your index.php
by passing a custom roots setup to the Kirby constructor.
Returns the root of the models folder.
If you want to overwrite the root you can do this in your index.php
by passing a custom roots setup to the Kirby constructor.