Commit ba7b2d29 by 叶明星

优化

parent 1a9d6d95
Showing with 3 additions and 2 deletions
<?php <?php
use Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider;
require_once __DIR__.'/../vendor/autoload.php'; require_once __DIR__.'/../vendor/autoload.php';
try { try {
...@@ -27,8 +29,6 @@ $app = new Laravel\Lumen\Application( ...@@ -27,8 +29,6 @@ $app = new Laravel\Lumen\Application(
$app->withEloquent(); $app->withEloquent();
$app->register(Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider::class);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Register Container Bindings | Register Container Bindings
...@@ -83,6 +83,7 @@ $app->singleton( ...@@ -83,6 +83,7 @@ $app->singleton(
// $app->register(App\Providers\AppServiceProvider::class); // $app->register(App\Providers\AppServiceProvider::class);
// $app->register(App\Providers\AuthServiceProvider::class); // $app->register(App\Providers\AuthServiceProvider::class);
// $app->register(App\Providers\EventServiceProvider::class); // $app->register(App\Providers\EventServiceProvider::class);
$app->register(Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider::class);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment