Customize folder setup
This commit is contained in:
parent
445db7d1bf
commit
302c150790
29 changed files with 49 additions and 15 deletions
18
public/index.php
Normal file
18
public/index.php
Normal 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();
|
Loading…
Add table
Add a link
Reference in a new issue