1
0
Fork 0

[GIT] setup initial configuration

This commit is contained in:
Jannik Beyerstedt 2016-03-28 22:32:42 +02:00
commit 46b0df0faf
32 changed files with 10188 additions and 0 deletions

16
index.php Normal file
View file

@ -0,0 +1,16 @@
<?php
define('DS', DIRECTORY_SEPARATOR);
// load kirby
require(__DIR__ . DS . 'kirby' . DS . 'bootstrap.php');
// check for a custom site.php
if(file_exists(__DIR__ . DS . 'site.php')) {
require(__DIR__ . DS . 'site.php');
} else {
$kirby = kirby();
}
// render
echo $kirby->launch();