Created
October 10, 2019 03:49
-
-
Save jordanjay29/b1511b699dbf4a2ff89dd46c693345c6 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
#!/usr/bin/env php | |
<?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\Console\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