diff --git a/app/Services/DkimService.php b/app/Services/DkimService.php index 444ce96..f1ae295 100644 --- a/app/Services/DkimService.php +++ b/app/Services/DkimService.php @@ -113,8 +113,8 @@ class DkimService } return [ 'selector' => $selKey, - 'priv_path' => method_exists($disk,'path') ? $disk->path($privRel) : storage_path('app/'.$privRel), - 'pub_path' => method_exists($disk,'path') ? $disk->path($pubRel) : storage_path('app/'.$pubRel), + 'priv_path' => $disk->path($privRel), + 'pub_path' => $disk->path($pubRel), 'public_pem' => $publicKeyPem, 'private_pem' => $privateKey, 'dns_name' => "{$selKey}._domainkey", @@ -158,8 +158,8 @@ class DkimService return [ 'selector' => $selKey, - 'priv_path' => method_exists($disk,'path') ? $disk->path($privRel) : storage_path('app/'.$privRel), - 'pub_path' => method_exists($disk,'path') ? $disk->path($pubRel) : storage_path('app/'.$pubRel), + 'priv_path' => $disk->path($privRel), + 'pub_path' => $disk->path($pubRel), 'public_pem' => $publicKeyPem, 'private_pem' => $privateKey, 'dns_name' => "{$selKey}._domainkey",