uawdijnntqw1x1x1
IP : 3.145.180.168
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,parse_ini_file,show_source,eval,open_base,symlink
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
0d544
/
..
/
..
/
.trash
/
admin.2
/
..
/
quran
/
..
/
catalog.1
/
controller
/
account
/
custom_field.php
/
/
<?php namespace Opencart\Catalog\Controller\Account; class CustomField extends \Opencart\System\Engine\Controller { public function index(): void { $json = []; // Customer Group if (isset($this->request->get['customer_group_id']) && in_array((int)$this->request->get['customer_group_id'], (array)$this->config->get('config_customer_group_display'))) { $customer_group_id = (int)$this->request->get['customer_group_id']; } else { $customer_group_id = $this->config->get('config_customer_group_id'); } $this->load->model('account/custom_field'); $custom_fields = $this->model_account_custom_field->getCustomFields($customer_group_id); foreach ($custom_fields as $custom_field) { $json[] = [ 'custom_field_id' => $custom_field['custom_field_id'], 'required' => $custom_field['required'] ]; } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } }
/home/sudancam/public_html/0d544/../../.trash/admin.2/../quran/../catalog.1/controller/account/custom_field.php