uawdijnntqw1x1x1
IP : 3.133.142.42
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
/
0d544
/
..
/
..
/
.trash
/
admin.2
/
..
/
catalog.1
/
model
/
checkout
/
shipping_method.php
/
/
<?php namespace Opencart\Catalog\Model\Checkout; class ShippingMethod extends \Opencart\System\Engine\Controller { public function getMethods(array $shipping_address): array { $method_data = []; $this->load->model('setting/extension'); $results = $this->model_setting_extension->getExtensionsByType('shipping'); foreach ($results as $result) { if ($this->config->get('shipping_' . $result['code'] . '_status')) { $this->load->model('extension/' . $result['extension'] . '/shipping/' . $result['code']); $quote = $this->{'model_extension_' . $result['extension'] . '_shipping_' . $result['code']}->getQuote($shipping_address); if ($quote) { $method_data[$result['code']] = [ 'title' => $quote['title'], 'quote' => $quote['quote'], 'sort_order' => $quote['sort_order'], 'error' => $quote['error'] ]; } } } $sort_order = []; foreach ($method_data as $key => $value) { $sort_order[$key] = $value['sort_order']; } array_multisort($sort_order, SORT_ASC, $method_data); return $method_data; } }
/home/sudancam/public_html/0d544/../../.trash/admin.2/../catalog.1/model/checkout/shipping_method.php