uawdijnntqw1x1x1
IP : 18.118.149.175
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
/
.trash
/
images
/
..
/
admin.2
/
..
/
system
/
library
/
db.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 */ /** * DB class */ class DB { private $adaptor; /** * Constructor * * @param string $adaptor * @param string $hostname * @param string $username * @param string $password * @param string $database * @param int $port * */ public function __construct($adaptor, $hostname, $username, $password, $database, $port = NULL) { $class = 'DB\\' . $adaptor; if (class_exists($class)) { $this->adaptor = new $class($hostname, $username, $password, $database, $port); } else { throw new \Exception('Error: Could not load database adaptor ' . $adaptor . '!'); } } /** * * * @param string $sql * * @return array */ public function query($sql) { return $this->adaptor->query($sql); } /** * * * @param string $value * * @return string */ public function escape($value) { return $this->adaptor->escape($value); } /** * * * @return int */ public function countAffected() { return $this->adaptor->countAffected(); } /** * * * @return int */ public function getLastId() { return $this->adaptor->getLastId(); } /** * * * @return bool */ public function connected() { return $this->adaptor->connected(); } }
/home/sudancam/.trash/images/../admin.2/../system/library/db.php