One Hat Cyber Team
Your IP :
3.145.68.158
Server IP :
104.21.48.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
gftag.com
/
vendor
/
fideloper
/
proxy
/
src
/
View File Name :
TrustedProxyServiceProvider.php
<?php namespace Fideloper\Proxy; use Illuminate\Foundation\Application as LaravelApplication; use Illuminate\Support\ServiceProvider; use Laravel\Lumen\Application as LumenApplication; class TrustedProxyServiceProvider extends ServiceProvider { /** * Boot the service provider. * * @return void */ public function boot() { $source = realpath($raw = __DIR__.'/../config/trustedproxy.php') ?: $raw; if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) { $this->publishes([$source => config_path('trustedproxy.php')]); } elseif ($this->app instanceof LumenApplication) { $this->app->configure('trustedproxy'); } if ($this->app instanceof LaravelApplication && ! $this->app->configurationIsCached()) { $this->mergeConfigFrom($source, 'trustedproxy'); } } /** * Register the service provider. * * @return void */ public function register() { // } }