mirror of
https://github.com/flarum/flarum.git
synced 2025-12-16 00:00:35 -05:00
Add public directory
This commit is contained in:
parent
7cf64af7f9
commit
c5c81c8651
@ -9,10 +9,10 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
require '../vendor/autoload.php';
|
||||
|
||||
Flarum\Http\Server::fromSite(
|
||||
(new Flarum\Foundation\Site)
|
||||
->setBasePath(__DIR__)
|
||||
->setBasePath(__DIR__.'/..')
|
||||
->setPublicPath(__DIR__)
|
||||
)->listen();
|
||||
Loading…
x
Reference in New Issue
Block a user