uawdijnntqw1x1x1
IP : 18.191.147.254
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
/
Upload
/
.
/
..
/
install.1
/
controller
/
startup
/
database.php
/
/
<?php namespace Opencart\Install\Controller\Startup; class Database extends \Opencart\System\Engine\Controller { public function index(): void { if (is_file(DIR_OPENCART . 'config.php') && filesize(DIR_OPENCART . 'config.php') > 0) { $config = []; $lines = file(DIR_OPENCART . 'config.php'); foreach ($lines as $number => $line) { if (strpos(strtoupper($line), 'DB_') !== false && preg_match('/define\(\'(.*)\',\s+\'(.*)\'\)/', $line, $match, PREG_OFFSET_CAPTURE)) { define($match[1][0], $match[2][0]); } } if (defined('DB_PORT')) { $port = DB_PORT; } else { $port = ini_get('mysqli.default_port'); } $this->registry->set('db', new \Opencart\System\Library\DB(DB_DRIVER, DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_DATABASE, $port)); } } }
/home/sudancam/.trash/Upload/./../install.1/controller/startup/database.php