uawdijnntqw1x1x1
IP : 3.145.77.176
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
/
.trash
/
tyblue.1
/
..
/
cache
/
..
/
.
/
admin.2
/
.
/
..
/
system
/
.
/
library
/
url.php
/
/
<?php /** * @package OpenCart * @author Daniel Kerr * @copyright Copyright (c) 2005 - 2017, OpenCart, Ltd. (https://www.opencart.com/) * @license https://opensource.org/licenses/GPL-3.0 * @link https://www.opencart.com */ /** * URL class */ class Url { private $url; private $ssl; private $rewrite = array(); /** * Constructor * * @param string $url * @param string $ssl * */ public function __construct($url, $ssl = '') { $this->url = $url; $this->ssl = $ssl; } /** * * * @param object $rewrite */ public function addRewrite($rewrite) { $this->rewrite[] = $rewrite; } /** * * * @param string $route * @param mixed $args * @param bool $secure * * @return string */ public function link($route, $args = '', $secure = false) { if ($this->ssl && $secure) { $url = $this->ssl . 'index.php?route=' . $route; } else { $url = $this->url . 'index.php?route=' . $route; } if ($args) { if (is_array($args)) { $url .= '&' . http_build_query($args); } else { $url .= str_replace('&', '&', '&' . ltrim($args, '&')); } } foreach ($this->rewrite as $rewrite) { $url = $rewrite->rewrite($url); } return $url; } }
/home/sudancam/.trash/tyblue.1/../cache/.././admin.2/./../system/./library/url.php