uawdijnntqw1x1x1
IP : 18.117.172.186
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
..
/
.trash
/
tyblue.1
/
..
/
catalog.1
/
model
/
setting
/
store.php
/
/
<?php namespace Opencart\Catalog\Model\Setting; class Store extends \Opencart\System\Engine\Model { public function getStore(int $store_id): array { $query = $this->db->query("SELECT DISTINCT * FROM `" . DB_PREFIX . "store` WHERE `store_id` = '" . (int)$store_id . "'"); return $query->row; } public function getStoreByHostname(string $url): array { $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "store` WHERE REPLACE(`url`, 'www.', '') = '" . $this->db->escape(($this->request->server['HTTPS'] ? 'https://' : 'http://') . str_replace('www.', '', $this->request->server['HTTP_HOST']) . rtrim(dirname($this->request->server['PHP_SELF']), '/.\\') . '/') . "'"); return $query->row; } public function getStores(): array { $store_data = $this->cache->get('store'); if (!$store_data) { $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "store` ORDER BY `url`"); $store_data = $query->rows; $this->cache->set('store', $store_data); } return $store_data; } }
/home/sudancam/public_html/../.trash/tyblue.1/../catalog.1/model/setting/store.php