Skip to content

Commit

Permalink
Update RemoteFromWebfan.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wehowski authored May 7, 2020
1 parent 1492440 commit 5cfb86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Webfan/Psr4Loader/RemoteFromWebfan.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function __construct($server = 'frdl.webfan.de', $register = true, $version = 'l
$this->domain = $dns[1].'.'.$dns[0];


if($this->allowFromSelfOrigin && $this->domain === $this->selfDomain){
if(!$this->allowFromSelfOrigin && $this->domain === $this->selfDomain){
$register = false;
}

Expand Down

0 comments on commit 5cfb86d

Please sign in to comment.