Added initial example site, containing hello-world module.

This commit is contained in:
Lewin Probst 2020-12-22 18:44:57 +01:00
parent 9304b986f4
commit a84610bc84
6 changed files with 56 additions and 0 deletions

9
bin/index.php Normal file
View file

@ -0,0 +1,9 @@
<?php
$root = realpath(implode(DIRECTORY_SEPARATOR, [__DIR__, "..", "..", ".."]));
include implode(DIRECTORY_SEPARATOR, [$root, "vendor", "autoload.php"]);
use \Lewp\Site;
new Site("localhost", "home", $root);