|
@@ -148,7 +148,7 @@ function switchepp_getConfigArray()
|
|
|
function switchepp_GetNameservers($params)
|
|
function switchepp_GetNameservers($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
|
|
|
|
@@ -178,7 +178,7 @@ function switchepp_GetNameservers($params)
|
|
|
function switchepp_SaveNameservers($params)
|
|
function switchepp_SaveNameservers($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -292,7 +292,7 @@ function switchepp_SaveNameservers($params)
|
|
|
function switchepp_RegisterDomain($params)
|
|
function switchepp_RegisterDomain($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
|
|
|
|
|
|
|
|
|
@@ -471,7 +471,7 @@ function switchepp_RegisterDomain($params)
|
|
|
function switchepp_GetContactDetails($params)
|
|
function switchepp_GetContactDetails($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -541,7 +541,7 @@ function switchepp_GetContactDetails($params)
|
|
|
function switchepp_SaveContactDetails($params)
|
|
function switchepp_SaveContactDetails($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -649,7 +649,7 @@ function switchepp_SaveContactDetails($params)
|
|
|
function switchepp_RequestDelete($params)
|
|
function switchepp_RequestDelete($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -683,7 +683,7 @@ function switchepp_RequestDelete($params)
|
|
|
function switchepp_TransferDomain($params)
|
|
function switchepp_TransferDomain($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -839,7 +839,7 @@ function switchepp_TransferDomain($params)
|
|
|
function switchepp_GetEPPCode($params)
|
|
function switchepp_GetEPPCode($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -882,7 +882,7 @@ function switchepp_ClientAreaCustomButtonArray()
|
|
|
function switchepp_Restore($params)
|
|
function switchepp_Restore($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#Domain Restore XML
|
|
#Domain Restore XML
|
|
@@ -901,7 +901,7 @@ function switchepp_Restore($params)
|
|
|
function switchepp_Disable_DNSSEC($params)
|
|
function switchepp_Disable_DNSSEC($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#Domain Restore XML
|
|
#Domain Restore XML
|
|
@@ -923,11 +923,11 @@ function switchepp_Disable_DNSSEC($params)
|
|
|
function switchepp_Enable_DNSSEC($params)
|
|
function switchepp_Enable_DNSSEC($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
- if ($check_license['status'] == "Active") {
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
+ //if ($check_license['status'] == "Active") {
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
- }
|
|
|
|
|
|
|
+ //}
|
|
|
|
|
|
|
|
#Domain Restore XML
|
|
#Domain Restore XML
|
|
|
$xml = switcheppEnableDnssec($params);
|
|
$xml = switcheppEnableDnssec($params);
|
|
@@ -949,7 +949,7 @@ function switchepp_AdminDomainsTabFields($params)
|
|
|
$settingArr = getSwitchEPP_setting($params['domainid']); #get registrar config settings
|
|
$settingArr = getSwitchEPP_setting($params['domainid']); #get registrar config settings
|
|
|
|
|
|
|
|
$params = array_merge($params, $settingArr);
|
|
$params = array_merge($params, $settingArr);
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
$params['domain_punycode'] = $params['sld_punycode'] . '.' . $params['tld'];
|
|
$params['domain_punycode'] = $params['sld_punycode'] . '.' . $params['tld'];
|
|
@@ -1104,7 +1104,7 @@ function switchepp_TransferSync($params)
|
|
|
function switchepp_RegisterNameserver($params)
|
|
function switchepp_RegisterNameserver($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -1135,7 +1135,7 @@ function switchepp_RegisterNameserver($params)
|
|
|
function switchepp_ModifyNameserver($params)
|
|
function switchepp_ModifyNameserver($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|
|
@@ -1171,7 +1171,7 @@ function switchepp_ModifyNameserver($params)
|
|
|
function switchepp_DeleteNameserver($params)
|
|
function switchepp_DeleteNameserver($params)
|
|
|
{
|
|
{
|
|
|
try {
|
|
try {
|
|
|
- $check_license = switchepp_license_status($params); #Check License
|
|
|
|
|
|
|
+ // $check_license = switchepp_license_status($params); #Check License
|
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
$client = switchepp_clientloginepp($params); #Epp Connection
|
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
$login = switchepp_loggedinepp($client, $params); #Epp Client login
|
|
|
#get domain info
|
|
#get domain info
|