PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/youronlinestore.kerihosting.com/catalog/controller/amazon/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/youronlinestore.kerihosting.com/catalog/controller/amazon/search.php |
<?php class ControllerAmazonSearch extends Controller { public function index() { if ($this->config->get('amazon_status') != '1') { return; } $this->load->model('amazon/product'); $logger = new Log('amazon.log'); $logger->write('amazon/search - started'); $token = $this->config->get('openbay_amazon_token'); $incomingToken = isset($this->request->post['token']) ? $this->request->post['token'] : ''; if ($incomingToken !== $token) { $logger->write('amazon/search - Incorrect token: ' . $incomingToken); return; } $decrypted = $this->openbay->amazon->decryptArgs($this->request->post['data']); if (!$decrypted) { $logger->write('amazon/search Failed to decrypt data'); return; } $logger->write($decrypted); $json = json_decode($decrypted, 1); $this->model_amazon_product->updateSearch($json); } } ?>