Added initial example site, containing hello-world module.
This commit is contained in:
parent
9304b986f4
commit
a84610bc84
6 changed files with 56 additions and 0 deletions
9
bin/index.php
Normal file
9
bin/index.php
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue