Customize folder setup
16
.gitignore
vendored
|
@ -22,20 +22,20 @@ Icon
|
|||
.DS_Store
|
||||
|
||||
# Temporary files
|
||||
/media/*
|
||||
!/media/index.html
|
||||
/public/media/*
|
||||
!/public/media/index.html
|
||||
|
||||
# --------------------------------------------------
|
||||
# SECURITY
|
||||
# --------------------------------------------------
|
||||
|
||||
# Accounts
|
||||
/site/accounts/*
|
||||
!/site/accounts/index.html
|
||||
/storage/accounts/*
|
||||
!/storage/accounts/index.html
|
||||
|
||||
# Cache Files
|
||||
/site/cache/*
|
||||
!/site/cache/index.html
|
||||
/storage/cache/*
|
||||
!/storage/cache/index.html
|
||||
|
||||
# Configuration files
|
||||
/site/config/config.xiaowang.fr.php
|
||||
|
@ -45,5 +45,5 @@ Icon
|
|||
/site/config/.license
|
||||
|
||||
# Sessions
|
||||
/site/sessions/*
|
||||
!/site/sessions/index.html
|
||||
/storage/sessions/*
|
||||
!/storage/sessions/index.html
|
||||
|
|
1
htdocs
Symbolic link
|
@ -0,0 +1 @@
|
|||
public
|
|
@ -1 +0,0 @@
|
|||
.htaccess
|
|
@ -1 +0,0 @@
|
|||
assets
|
|
@ -1 +0,0 @@
|
|||
content
|
|
@ -1 +0,0 @@
|
|||
index.php
|
|
@ -1 +0,0 @@
|
|||
kirby
|
|
@ -1 +0,0 @@
|
|||
media
|
|
@ -1 +0,0 @@
|
|||
robots.txt
|
|
@ -1 +0,0 @@
|
|||
site
|
|
@ -1 +0,0 @@
|
|||
vendor
|
|
@ -1,5 +0,0 @@
|
|||
<?php
|
||||
|
||||
require 'kirby/bootstrap.php';
|
||||
|
||||
echo (new Kirby)->render();
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
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();
|