Customize folder setup

This commit is contained in:
Paul Nicoué 2022-07-08 17:11:28 +02:00
parent 445db7d1bf
commit 302c150790
29 changed files with 49 additions and 15 deletions

18
public/index.php Normal file
View file

@ -0,0 +1,18 @@
<?php
include __DIR__ . '/../vendor/autoload.php';
$kirby = new Kirby([
'roots' => [
'index' => __DIR__,
'base' => $base = dirname(__DIR__),
'content' => $base . '/content',
'site' => $base . '/site',
'storage' => $storage = $base . '/storage',
'accounts' => $storage . '/accounts',
'cache' => $storage . '/cache',
'sessions' => $storage . '/sessions',
]
]);
echo $kirby->render();