1
0
Fork 0
web-jbeyerstedt/index.php

16 lines
292 B
PHP
Raw Normal View History

2016-03-28 20:32:42 +00:00
<?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();