diff --git a/.htaccess b/public/.htaccess similarity index 100% rename from .htaccess rename to public/.htaccess diff --git a/assets/.gitignore b/public/assets/.gitignore similarity index 100% rename from assets/.gitignore rename to public/assets/.gitignore diff --git a/assets/avatars/.gitignore b/public/assets/avatars/.gitignore similarity index 100% rename from assets/avatars/.gitignore rename to public/assets/avatars/.gitignore diff --git a/index.php b/public/index.php similarity index 82% rename from index.php rename to public/index.php index c495ba2..b2faef9 100644 --- a/index.php +++ b/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();