Skip to content

Commit

Permalink
apple pay auto set
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-zhang-awx committed Oct 15, 2024
1 parent a505743 commit 15ae617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Adminhtml/Configuration/PayEnable.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function uploadAppleDomainFile(): bool
$filename = 'apple-developer-merchantid-domain-association';
$destinationDir = $this->directoryList->getPath(DirectoryList::PUB) . '/.well-known/';

if (file_exists($destinationDir . $filename)) return false;
if (file_exists($destinationDir . $filename)) return true;
if (!is_dir($destinationDir)) {
try {
mkdir($destinationDir, 0755, true);
Expand Down

0 comments on commit 15ae617

Please sign in to comment.