diff --git a/lib/LicenseService.php b/lib/LicenseService.php index 2575e48..1212de1 100644 --- a/lib/LicenseService.php +++ b/lib/LicenseService.php @@ -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) {