升级第三方包

This commit is contained in:
Edward Yang 2023-03-06 18:52:06 +08:00
parent 43a3b6b10a
commit c24b22dc9d
4 changed files with 653 additions and 681 deletions

View File

@ -16,7 +16,7 @@ class Kernel extends HttpKernel
protected $middleware = [ protected $middleware = [
// \App\Http\Middleware\TrustHosts::class, // \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class, \App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class, \Illuminate\Http\Middleware\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class, \App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class, \App\Http\Middleware\TrimStrings::class,

16
auto_install.json Normal file
View File

@ -0,0 +1,16 @@
{
"php_ext":"opcache,ioncube",
"chmod":[
{"mode":755,"path":"/storage"},
{"mode":755,"path":"/bootstrap/cache"},
{"mode":755,"path":"/public/cache"}
],
"success_url":"/index.php",
"php_versions":"80,81,82",
"db_config":"",
"admin_username":"",
"admin_password":"",
"run_path":"/public",
"remove_file":["/.user.ini"],
"enable_functions":["putenv"]
}

View File

@ -8,12 +8,12 @@
"php": "^8.0.2", "php": "^8.0.2",
"ext-curl": "*", "ext-curl": "*",
"ext-iconv": "*", "ext-iconv": "*",
"ext-fileinfo": "*",
"ext-json": "*", "ext-json": "*",
"ext-pdo": "*", "ext-pdo": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"ext-zip": "*", "ext-zip": "*",
"doctrine/dbal": "^3.3", "doctrine/dbal": "^3.3",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"intervention/image": "^2.7", "intervention/image": "^2.7",
"jenssegers/agent": "^2.6", "jenssegers/agent": "^2.6",

1314
composer.lock generated

File diff suppressed because it is too large Load Diff