Customize folder setup
This commit is contained in:
parent
445db7d1bf
commit
302c150790
29 changed files with 49 additions and 15 deletions
20
.gitignore
vendored
20
.gitignore
vendored
|
@ -22,28 +22,28 @@ 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.julienmonnerie.com.php
|
||||
/site/config/config.julienmonnerie.test.php
|
||||
/site/config/config.xiaowang.fr.php
|
||||
/site/config/config.xiaowang.test.php
|
||||
|
||||
# License
|
||||
/site/config/.license
|
||||
|
||||
# Sessions
|
||||
/site/sessions/*
|
||||
!/site/sessions/index.html
|
||||
/storage/sessions/*
|
||||
!/storage/sessions/index.html
|
||||
|
|
1
htdocs
Symbolic link
1
htdocs
Symbolic link
|
@ -0,0 +1 @@
|
|||
public
|
|
@ -1,5 +0,0 @@
|
|||
<?php
|
||||
|
||||
require 'kirby/bootstrap.php';
|
||||
|
||||
echo (new Kirby)->render();
|
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();
|
10
site/config/config.julienmonnerie.com.php
Normal file
10
site/config/config.julienmonnerie.com.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
// Kirby configuration settings (production environment)
|
||||
'debug' => false,
|
||||
// Matomo plugin options (critical keys)
|
||||
'sylvainjule.matomo' => [
|
||||
// 'token' => 'a3d53082e369334813c0ed93d5a80db6'
|
||||
]
|
||||
];
|
10
site/config/config.julienmonnerie.test.php
Normal file
10
site/config/config.julienmonnerie.test.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
// Kirby configuration settings (development environment)
|
||||
'debug' => true,
|
||||
// Matomo plugin options (critical keys)
|
||||
'sylvainjule.matomo' => [
|
||||
// 'token' => 'a3d53082e369334813c0ed93d5a80db6'
|
||||
]
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue