❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$roots->controllers()
Returns the root of the controllers folder.
return
(string)
Example
<?
=
kirby
(
)
-
>
roots
(
)
-
>
controllers
(
)
?>
↑
Cheat Sheet overview
←
$roots->content()
→
$roots->fields()
↓
Back to Cheat Sheet section
Top