Skip to content

Instantly share code, notes, and snippets.

@jordanjay29
Created October 10, 2019 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordanjay29/697155ead644bdc45196edbee5cf476d to your computer and use it in GitHub Desktop.
Save jordanjay29/697155ead644bdc45196edbee5cf476d to your computer and use it in GitHub Desktop.
<?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