inc/integrations/Cloudflare.php
@@ -13,7 +13,17 @@ private string $theme = 'light'; private string $size = 'normal'; public function __construct() protected static array $instances = []; public static function getInstance(?int $userID = null):self { $key = is_null($userID) ? 'base' : $userID; if (!array_key_exists($key, self::$instances)) { self::$instances[$key] = new self($userID); } return self::$instances[$key]; } protected function __construct() { $this->service_name = 'cloudflare'; $this->title = 'Cloudflare Turnstile';