Hi,
I got a dev
site for testing purpose in a subfolder and I would like to use the root content
folder instead of dev/content
.
π assets
π content <-- I want to use this as content folder
π dev
π assets
π content <-- instead of this one
π index.php
π kirby
π media
π site
π index.php
π kirby
π media
π site
I tried to edit the configuration of dev/index.php
as above, but itβs not working:
<?php
require __DIR__ . '/kirby/bootstrap.php';
$kirby = new Kirby([
'roots' => [
'content' => __DIR__ . '/../content'
]
]);
echo (new Kirby)->render();
What am I doing wrong? What do I need to do to achieve this?