# $kirby->root('licenses')

Returns the root of the licenses folder (currently only used for plugin licenses).

****

- Since [5.0.0](https://github.com/getkirby/kirby/releases/tag/5.0.0)

****

## Example

```php
<?= $kirby->root('licenses') ?>
```

## 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.

```php "/index.php"
<?php

include 'kirby/bootstrap.php';

$kirby = new Kirby([
    'roots' => [
        'licenses' => '/absolute/path/to/custom/root',
    ],
]);

echo $kirby->render();

```