Server IP : 149.255.58.128 / Your IP : 216.73.216.126
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /var/softaculous/yeti//Db.php
<?php
/**
* Configuration file.
* This file is auto-generated.
*
* @package Config
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 7.0 (licenses/LicenseEN.txt or yetiforce.com)
*/
namespace Config;
/**
* Configuration file: Config\Db.
*/
class Db
{
/** Gets the database server */
public static $db_server = '[[softdbhost]]';
/** Gets the database port */
public static $db_port = '3306';
/** Gets the database user name */
public static $db_username = '[[softdbuser]]';
/** Gets the database password */
public static $db_password = '[[softdbpass]]';
/** Gets the database name */
public static $db_name = '[[softdb]]';
/** Gets the database type */
public static $db_type = 'mysql';
/** Gets the mongo database server */
public static $mongo_server = '';
/** Gets the mongo database port */
public static $mongo_port = '';
/** Gets the mongo database user name */
public static $mongo_username = '';
/** Gets the mongo database password */
public static $mongo_password = '';
/** Gets the mongo database name */
public static $mongo_name = '';
/** Gets the mongo database type */
public static $mongo_type = 'mongodb';
/**
* Gets host name.
*/
public static function db_hostname()
{
return self::$db_server . ':' . self::$db_port;
}
/**
* Basic database configuration.
*/
public static function base()
{
return [
'dsn' => self::$db_type . ':host=' . self::$db_server . ';dbname=' . self::$db_name . ';port=' . self::$db_port,
'host' => self::$db_server,
'port' => self::$db_port,
'username' => self::$db_username,
'password' => self::$db_password,
'dbName' => self::$db_name,
'tablePrefix' => 'yf_',
'charset' => 'utf8',
];
}
/**
* Mongo database configuration.
*/
public static function mongo()
{
if (!self::$mongo_username) {
return null;
}
return [
'dsn' => sprintf('%s://%s:%s@%s:%d/%s', self::$mongo_type, urlencode(self::$mongo_username), urlencode(self::$mongo_password), self::$mongo_server, self::$mongo_port, self::$mongo_name),
'tablePrefix' => 'yf_',
];
}
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | March 26 2025 10:37:17 | 0 / root | 0755 | |
php53 | -- | March 26 2025 10:37:17 | 0 / root | 0755 | |
php56 | -- | March 26 2025 10:37:17 | 0 / root | 0755 | |
php71 | -- | March 26 2025 10:37:17 | 0 / root | 0755 | |
php81 | -- | March 26 2025 10:37:17 | 0 / root | 0755 | |
php82 | -- | March 26 2025 10:37:17 | 0 / root | 0755 | |
| | | | | |
Db.php | 2.067 KB | April 23 2024 06:00:20 | 0 / root | 0644 | |
Main.php | 4.646 KB | April 23 2024 06:00:20 | 0 / root | 0644 | |
clone.php | 8.302 KB | March 25 2025 08:28:12 | 0 / root | 0644 | |
cron.sh | 0.714 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
csrf_secret.php | 0.034 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
extend.php | 9.129 KB | March 25 2025 08:28:12 | 0 / root | 0644 | |
fileindex.php | 0.36 KB | January 24 2025 02:37:34 | 0 / root | 0644 | |
import.php | 3.597 KB | March 25 2025 08:28:12 | 0 / root | 0644 | |
info.xml | 4.599 KB | March 25 2025 08:27:42 | 0 / root | 0644 | |
install.js | 0.899 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 20.23 KB | March 25 2025 08:28:12 | 0 / root | 0644 | |
install.xml | 19.208 KB | April 23 2024 06:00:20 | 0 / root | 0644 | |
md5 | 1.896 KB | March 25 2025 08:28:12 | 0 / root | 0644 | |
notes.txt | 1.152 KB | March 25 2025 08:27:42 | 0 / root | 0644 | |
update_pass.php | 0.528 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
user_privileges_1.php | 4.495 KB | April 23 2024 06:00:20 | 0 / root | 0644 | |