2015-04-25 13:27:04 +00:00
|
|
|
<?php
|
2020-01-17 15:43:50 +00:00
|
|
|
|
2015-08-26 07:43:18 +00:00
|
|
|
/*
|
|
|
|
* This file is part of Flarum.
|
|
|
|
*
|
2020-01-05 21:31:04 +00:00
|
|
|
* For detailed copyright and license information, please view the
|
|
|
|
* LICENSE file that was distributed with this source code.
|
2015-08-26 07:43:18 +00:00
|
|
|
*/
|
|
|
|
|
2017-12-19 08:05:40 +00:00
|
|
|
require '../vendor/autoload.php';
|
2015-04-25 13:27:04 +00:00
|
|
|
|
2018-05-28 21:16:14 +00:00
|
|
|
$server = new Flarum\Http\Server(
|
2018-10-28 22:12:45 +00:00
|
|
|
Flarum\Foundation\Site::fromPaths([
|
2020-01-03 14:20:30 +00:00
|
|
|
'base' => __DIR__.'/..',
|
|
|
|
'public' => __DIR__.'/../public',
|
2018-10-28 22:12:45 +00:00
|
|
|
'storage' => __DIR__.'/../storage',
|
|
|
|
])
|
2018-05-28 21:16:14 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
$server->listen();
|