We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e2e7a commit 3500313Copy full SHA for 3500313
src/HashidsServiceProvider.php
@@ -43,7 +43,7 @@ public function boot()
43
*/
44
protected function setupConfig()
45
{
46
- $source = realpath(__DIR__.'/../config/hashids.php');
+ $source = realpath($raw = __DIR__.'/../config/hashids.php') ?: $raw;
47
48
if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
49
$this->publishes([$source => config_path('hashids.php')]);
0 commit comments