Initial commit
This commit is contained in:
28
kirby-baukasten-main/public/index.php
Normal file
28
kirby-baukasten-main/public/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use Kirby\Cms\App;
|
||||
|
||||
define("KIRBY_HELPER_ATTR", false); // attr is set by tailwind-merge
|
||||
define("KIRBY_HELPER_DUMP", false); // dump is set by ray
|
||||
|
||||
$base = dirname(__DIR__);
|
||||
|
||||
require $base . '/kirby/bootstrap.php';
|
||||
require $base . '/vendor/autoload.php';
|
||||
|
||||
$kirby = new App([
|
||||
'roots' => [
|
||||
'index' => __DIR__,
|
||||
'base' => $base,
|
||||
'site' => $base . '/site',
|
||||
'data' => $data = $base . '/data',
|
||||
'content' => $data . '/storage/content',
|
||||
'accounts' => $data . '/storage/accounts',
|
||||
'license' => $data . '/storage/.license',
|
||||
'cache' => $data . '/runtime/cache',
|
||||
'logs' => $data . '/runtime/logs',
|
||||
'sessions' => $data . '/runtime/sessions',
|
||||
]
|
||||
]);
|
||||
|
||||
echo $kirby->render();
|
||||
Reference in New Issue
Block a user