Для просмотра ссылки Войди
V1.5.x - V1.6.x
onepagecheckoutps / sınıfları / OnePageCheckoutPSCore.php
пароль был сломан, я не мог удалить лицензии
-------------------------------------------------- ----
koruma fonksiyonu registerModule ($ email_customer ='', $ seller ='', $ number_order ='', $ is_domain_test = 0) {
$ Ch = curl_init ();
$ Url_store = version_compare (_PS_VERSION_, '1 .5 ')> = 0? $ This-> bağlam> dükkanı-> getBaseURL ( Araçlar :: getShopDomain (true). __PS_BASE_URI__;
curl_setopt ($ ch, CURLOPT_URL, ' Для просмотра ссылки Войди
curl_setopt ($ ch, CURLOPT_POST, 0);
curl_setopt ($ ch, CURLOPT_POSTFIELDS, 'domain ='. $ _SERVER ['SERVER_NAME'].
'& Ip_address ='. $ _SERVER ['SERVER_ADDR'].
'& Name_module ='. Bu-> isim $.
'& Version_module ='. Yapılandırma :: ($ this-> prefix_module. '_VERSION') Olsun.
'& Email_customer ='. $ Email_customer.
'& Seller ='. $ Seller.
'& Number_order ='. $ Number_order.
'& Ps_version ='. _PS_VERSION_.
'& Url_store ='. $ Url_store.
'& Is_domain_test ='. $ Is_domain_test);
curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, false);
$ Çıkış = curl_exec ($ ch);
($ ch) curl_close;
, | ('', $ çıktı) patlayabilir dönmek
}
koruma fonksiyonu validateLicenseModule ($ license_number) {
$ Ch = curl_init ();
$ Url_store = version_compare (_PS_VERSION_, '1 .5 ')> = 0? $ This-> bağlam> dükkanı-> getBaseURL ( Araçlar :: getShopDomain (true). __PS_BASE_URI__;
curl_setopt ($ ch, CURLOPT_URL, ' Для просмотра ссылки Войди
curl_setopt ($ ch, CURLOPT_POST, 1);
curl_setopt ($ ch, CURLOPT_POSTFIELDS, 'domain ='. $ _SERVER ['SERVER_NAME'].
'& Ip_address ='. $ _SERVER ['SERVER_ADDR'].
'& Name_module ='. Bu-> isim $.
'& Version_module ='. Yapılandırma :: ($ this-> prefix_module. '_VERSION') Olsun.
'& License_number ='. $ License_number.
'& Ps_version ='. _PS_VERSION_.
'& Url_store ='. $ Url_store);
curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, true);