license varying

This commit is contained in:
Flatlogic Bot 2026-02-19 18:01:27 +00:00
parent c9f7fdcaab
commit 497a3abad1

View File

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