$roots->index()

Returns the document root of the website

  • return (string)

Example

<?= kirby()->roots()->index() ?>

Is something missing or incorrect? Edit this page on Github…