mirror of https://github.com/flarum/flarum
Get rid of public directory.
parent
806ae8ab96
commit
4a25c72c7a
|
@ -60,7 +60,7 @@ composer_packages = [ # List any global Composer packages that you wa
|
||||||
# Default web server document root
|
# Default web server document root
|
||||||
# Symfony's public directory is assumed "web"
|
# Symfony's public directory is assumed "web"
|
||||||
# Laravel's public directory is assumed "public"
|
# Laravel's public directory is assumed "public"
|
||||||
public_folder = "/vagrant/public"
|
public_folder = "/vagrant"
|
||||||
|
|
||||||
laravel_root_folder = "/vagrant/laravel" # Where to install Laravel. Will `composer install` if a composer.json file exists
|
laravel_root_folder = "/vagrant/laravel" # Where to install Laravel. Will `composer install` if a composer.json file exists
|
||||||
laravel_version = "latest-stable" # If you need a specific version of Laravel, set it here
|
laravel_version = "latest-stable" # If you need a specific version of Laravel, set it here
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require __DIR__.'/../bootstrap/autoload.php';
|
require __DIR__ . '/bootstrap/autoload.php';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -32,7 +32,7 @@ require __DIR__.'/../bootstrap/autoload.php';
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$app = require_once __DIR__.'/../bootstrap/app.php';
|
$app = require_once __DIR__ . '/bootstrap/app.php';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
|
@ -18,4 +18,4 @@ if ($uri !== '/' and file_exists(__DIR__.'/public'.$uri))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once __DIR__.'/public/index.php';
|
require_once __DIR__ . '/index.php';
|
||||||
|
|
Loading…
Reference in New Issue