mirror of https://github.com/flarum/flarum
Add public directory
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…
Reference in New Issue