You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
292 B
PHP
16 lines
292 B
PHP
<?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(); |