mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +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"]);
|
define("APIServiceID", $serviceInfos["ID"]);
|
||||||
|
|
||||||
//Save service domain in a constant (if any)
|
//Save service domain in a constant (if any)
|
||||||
if($serviceInfos["clientDomain"])
|
if($serviceInfos["clientDomain"] != "")
|
||||||
define("APIServiceDomain", $serviceInfos["clientDomain"]);
|
define("APIServiceDomain", $serviceInfos["clientDomain"]);
|
||||||
|
|
||||||
//Else everything went good
|
//Else everything went good
|
||||||
|
Loading…
Reference in New Issue
Block a user