⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
dnc
/
@core
/
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() { // } }