license varying
This commit is contained in:
parent
c9f7fdcaab
commit
497a3abad1
@ -141,7 +141,8 @@ class LicenseService {
|
||||
* Remote API Caller
|
||||
*/
|
||||
private static function callRemoteApi($endpoint, $params) {
|
||||
$url = self::getApiUrl() . $endpoint;
|
||||
$action = ltrim($endpoint, '/');
|
||||
$url = self::getApiUrl() . '/index.php?action=' . $action;
|
||||
|
||||
// Check if we are in local development / simulation mode
|
||||
if (strpos($url, 'your-domain.com') !== false) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user