Created
October 10, 2019 03:48
-
-
Save jordanjay29/697155ead644bdc45196edbee5cf476d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of Flarum. | |
* | |
* (c) Toby Zerner <toby.zerner@gmail.com> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ | |
require 'vendor/autoload.php'; | |
$server = new Flarum\Http\Server( | |
Flarum\Foundation\Site::fromPaths([ | |
'base' => __DIR__, | |
'public' => __DIR__, | |
'storage' => __DIR__.'/storage', | |
]) | |
); | |
$server->listen(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment