diff --git a/src/TrustedProxyServiceProvider.php b/src/TrustedProxyServiceProvider.php index dc299e3..e883aaf 100644 --- a/src/TrustedProxyServiceProvider.php +++ b/src/TrustedProxyServiceProvider.php @@ -15,7 +15,7 @@ class TrustedProxyServiceProvider extends ServiceProvider */ public function boot() { - $source = realpath(__DIR__.'/../config/trustedproxy.php'); + $source = __DIR__.'/../config/trustedproxy.php'; if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) { $this->publishes([$source => config_path('trustedproxy.php')]);