File manager - Edit - /home/autoph/public_html/projects/aha-api/app/Providers/AppServiceProvider.php
Back
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Route; use App\Http\Middleware\CustomAuth; class AppServiceProvider extends ServiceProvider { /** * Register any application services. */ public function register(): void { } /** * Bootstrap any application services. */ public function boot(): void { // $this->configureRateLimiting(); Route::aliasMiddleware('custom.auth', CustomAuth::class); $googleCredentials = config('services.google.credentials'); if(file_exists(base_path($googleCredentials))){ putenv("GOOGLE_APPLICATION_CREDENTIALS=" . base_path($googleCredentials)); } } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings