Update eppSync.php

This commit is contained in:
Pinga 2023-07-16 07:55:23 +03:00 committed by GitHub
parent ac86f970c8
commit 57f47f1cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
<?php
require_once "Tembo.php";
require_once "eppClient.php";
use Pinga\Tembo\Epp;
use Pinga\Tembo\eppClient;
$config = include "config.php";
$c = $config["db"];
@ -52,7 +52,7 @@ function connectEpp(string $registry, $config)
{
try
{
$epp = new Epp();
$epp = new eppClient();
$info = [
"host" => $config["host"],
"port" => $config["port"], "timeout" => 30, "tls" => "1.3", "bind" => false, "bindip" => "1.2.3.4:0", "verify_peer" => false, "verify_peer_name" => false,