mirror of
https://github.com/flarum/flarum.git
synced 2025-12-17 00:00:51 -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.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require 'vendor/autoload.php';
|
require '../vendor/autoload.php';
|
||||||
|
|
||||||
Flarum\Http\Server::fromSite(
|
Flarum\Http\Server::fromSite(
|
||||||
(new Flarum\Foundation\Site)
|
(new Flarum\Foundation\Site)
|
||||||
->setBasePath(__DIR__)
|
->setBasePath(__DIR__.'/..')
|
||||||
->setPublicPath(__DIR__)
|
->setPublicPath(__DIR__)
|
||||||
)->listen();
|
)->listen();
|
||||||
Loading…
x
Reference in New Issue
Block a user