mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-25 13:08:58 +00:00
Fixed bug on domain detection
This commit is contained in:
parent
8651b87244
commit
dee769d5a4
@ -24,7 +24,7 @@ class Tokens{
|
||||
define("APIServiceID", $serviceInfos["ID"]);
|
||||
|
||||
//Save service domain in a constant (if any)
|
||||
if($serviceInfos["clientDomain"])
|
||||
if($serviceInfos["clientDomain"] != "")
|
||||
define("APIServiceDomain", $serviceInfos["clientDomain"]);
|
||||
|
||||
//Else everything went good
|
||||
|
Loading…
Reference in New Issue
Block a user