diff --git a/.bowerrc b/.bowerrc index 1f5596e4..9e879c36 100644 --- a/.bowerrc +++ b/.bowerrc @@ -1 +1 @@ -{"directory" : "public/vendor"} +{"directory" : "public/assets/vendor"} diff --git a/.htaccess b/.htaccess index 00be7b31..6d41d87d 100644 --- a/.htaccess +++ b/.htaccess @@ -6,3 +6,30 @@ Options -Indexes Order allow,deny Deny from all + +# Hide a specific file + + Order allow,deny + Deny from all + + + + + Options -MultiViews + + + RewriteEngine On + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)/$ /$1 [L,R=301] + + # Handle Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + diff --git a/config/app.php b/config/app.php index b71aa83f..5722e1b6 100755 --- a/config/app.php +++ b/config/app.php @@ -109,7 +109,6 @@ return [ 'Route' => Illuminate\Support\Facades\Route::class, 'Schema' => Illuminate\Support\Facades\Schema::class, 'Session' => Illuminate\Support\Facades\Session::class, - 'Setting' => anlutro\LaravelSettings\Facade::class, 'Storage' => Illuminate\Support\Facades\Storage::class, 'URL' => Illuminate\Support\Facades\URL::class, 'Utils' => App\Facades\Utils::class, @@ -117,5 +116,4 @@ return [ 'View' => Illuminate\Support\Facades\View::class, 'Yaml' => Symfony\Component\Yaml\Yaml::class, ], - ]; diff --git a/phpvms.iml b/phpvms.iml index f31004d4..6fff0268 100644 --- a/phpvms.iml +++ b/phpvms.iml @@ -6,6 +6,8 @@ + + @@ -303,6 +305,21 @@ + + + + + + + + + + + + + + +