Skip to content

Commit 84277cd

Browse files
committed
Merge pull request #93 from nickfan/master
realpath not work in phar
2 parents 24b3e94 + df128d4 commit 84277cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AwsServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class AwsServiceProvider extends ServiceProvider
2626
*/
2727
public function boot()
2828
{
29-
$source = realpath(__DIR__ . '/../config/aws.php');
29+
$source = dirname(__DIR__).'/config/aws.php';
3030

3131
if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
3232
$this->publishes([$source => config_path('aws.php')]);

0 commit comments

Comments
 (0)