Skip to content

Commit 3500313

Browse files
committed
Fixed config in phars
1 parent 87e2e7a commit 3500313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HashidsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function boot()
4343
*/
4444
protected function setupConfig()
4545
{
46-
$source = realpath(__DIR__.'/../config/hashids.php');
46+
$source = realpath($raw = __DIR__.'/../config/hashids.php') ?: $raw;
4747

4848
if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
4949
$this->publishes([$source => config_path('hashids.php')]);

0 commit comments

Comments
 (0)