Browse Source

Add public directory

next-back
Toby Zerner 7 years ago
parent
commit
c5c81c8651
  1. 0
      public/.htaccess
  2. 0
      public/assets/.gitignore
  3. 0
      public/assets/avatars/.gitignore
  4. 4
      public/index.php

0
.htaccess → public/.htaccess

0
assets/.gitignore → public/assets/.gitignore vendored

0
assets/avatars/.gitignore → public/assets/avatars/.gitignore vendored

4
index.php → public/index.php

@ -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…
Cancel
Save