Customize folder setup
This commit is contained in:
parent
ddb853e055
commit
2f7f31b623
48 changed files with 27 additions and 22 deletions
18
public/index.php
Normal file
18
public/index.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
include __DIR__ . '/../kirby/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