Fixed bug on domain detection

This commit is contained in:
Pierre 2017-10-31 09:28:12 +01:00
parent 8651b87244
commit dee769d5a4

View File

@ -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