Add public directory

next-back
Toby Zerner 2017-12-19 18:35:40 +10:30
parent 7cf64af7f9
commit c5c81c8651
4 changed files with 2 additions and 2 deletions

View File

@ -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();