Demo project
This commit is contained in:
1 parent
5e4f3540e8
commit
a68267d0f0
146 files changed
+41587
No files matched your search
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
// if(env('APP_DEBUG')) {
|
||||
// \DB::listen(function($query) {
|
||||
// \File::append(
|
||||
// storage_path('/logs/query.log'),
|
||||
// $query->sql . ' [' . implode(', ', $query->bindings) . ']' . PHP_EOL
|
||||
// );
|
||||
// });
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user