REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 6.24 KB
Close
/var/softaculous/igniter/Database.php
Text
Base64
<?php namespace Config; use CodeIgniter\Database\Config; /** * Database Configuration */ class Database extends Config { /** * The directory that holds the Migrations and Seeds directories. */ public string $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR; /** * Lets you choose which connection group to use if no other is specified. */ public string $defaultGroup = 'default'; /** * The default database connection. * * @var array<string, mixed> */ public array $default = [ 'DSN' => '', 'hostname' => '[[softdbhost]]', 'username' => '[[softdbuser]]', 'password' => '[[softdbpass]]', 'database' => '[[softdb]]', 'DBDriver' => 'MySQLi', 'DBPrefix' => '[[dbprefix]]', 'pConnect' => false, 'DBDebug' => true, 'charset' => 'utf8mb4', 'DBCollat' => 'utf8mb4_general_ci', 'swapPre' => '', 'encrypt' => false, 'compress' => false, 'strictOn' => false, 'failover' => [], 'port' => 3306, 'numberNative' => false, 'foundRows' => false, 'dateFormat' => [ 'date' => 'Y-m-d', 'datetime' => 'Y-m-d H:i:s', 'time' => 'H:i:s', ], ]; // /** // * Sample database connection for SQLite3. // * // * @var array<string, mixed> // */ // public array $default = [ // 'database' => 'database.db', // 'DBDriver' => 'SQLite3', // 'DBPrefix' => '', // 'DBDebug' => true, // 'swapPre' => '', // 'failover' => [], // 'foreignKeys' => true, // 'busyTimeout' => 1000, // 'synchronous' => null, // 'dateFormat' => [ // 'date' => 'Y-m-d', // 'datetime' => 'Y-m-d H:i:s', // 'time' => 'H:i:s', // ], // ]; // /** // * Sample database connection for Postgre. // * // * @var array<string, mixed> // */ // public array $default = [ // 'DSN' => '', // 'hostname' => 'localhost', // 'username' => 'root', // 'password' => 'root', // 'database' => 'ci4', // 'schema' => 'public', // 'DBDriver' => 'Postgre', // 'DBPrefix' => '', // 'pConnect' => false, // 'DBDebug' => true, // 'charset' => 'utf8', // 'swapPre' => '', // 'failover' => [], // 'port' => 5432, // 'dateFormat' => [ // 'date' => 'Y-m-d', // 'datetime' => 'Y-m-d H:i:s', // 'time' => 'H:i:s', // ], // ]; // /** // * Sample database connection for SQLSRV. // * // * @var array<string, mixed> // */ // public array $default = [ // 'DSN' => '', // 'hostname' => 'localhost', // 'username' => 'root', // 'password' => 'root', // 'database' => 'ci4', // 'schema' => 'dbo', // 'DBDriver' => 'SQLSRV', // 'DBPrefix' => '', // 'pConnect' => false, // 'DBDebug' => true, // 'charset' => 'utf8', // 'swapPre' => '', // 'encrypt' => false, // 'failover' => [], // 'port' => 1433, // 'dateFormat' => [ // 'date' => 'Y-m-d', // 'datetime' => 'Y-m-d H:i:s', // 'time' => 'H:i:s', // ], // ]; // /** // * Sample database connection for OCI8. // * // * You may need the following environment variables: // * NLS_LANG = 'AMERICAN_AMERICA.UTF8' // * NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS' // * NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH24:MI:SS' // * NLS_TIMESTAMP_TZ_FORMAT = 'YYYY-MM-DD HH24:MI:SS' // * // * @var array<string, mixed> // */ // public array $default = [ // 'DSN' => 'localhost:1521/XEPDB1', // 'username' => 'root', // 'password' => 'root', // 'DBDriver' => 'OCI8', // 'DBPrefix' => '', // 'pConnect' => false, // 'DBDebug' => true, // 'charset' => 'AL32UTF8', // 'swapPre' => '', // 'failover' => [], // 'dateFormat' => [ // 'date' => 'Y-m-d', // 'datetime' => 'Y-m-d H:i:s', // 'time' => 'H:i:s', // ], // ]; /** * This database connection is used when running PHPUnit database tests. * * @var array<string, mixed> */ public array $tests = [ 'DSN' => '', 'hostname' => '127.0.0.1', 'username' => '', 'password' => '', 'database' => ':memory:', 'DBDriver' => 'SQLite3', 'DBPrefix' => 'db_', // Needed to ensure we're working correctly with prefixes live. DO NOT REMOVE FOR CI DEVS 'pConnect' => false, 'DBDebug' => true, 'charset' => 'utf8', 'DBCollat' => '', 'swapPre' => '', 'encrypt' => false, 'compress' => false, 'strictOn' => false, 'failover' => [], 'port' => 3306, 'foreignKeys' => true, 'busyTimeout' => 1000, 'synchronous' => null, 'dateFormat' => [ 'date' => 'Y-m-d', 'datetime' => 'Y-m-d H:i:s', 'time' => 'H:i:s', ], ]; public function __construct() { parent::__construct(); // Ensure that we always set the database group to 'tests' if // we are currently running an automated test suite, so that // we don't overwrite live data on accident. if (ENVIRONMENT === 'testing') { $this->defaultGroup = 'tests'; } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 6 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
images
DIR
-
drwxr-xr-x
2026-02-02 22:02:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php53
DIR
-
drwxr-xr-x
2026-02-02 22:02:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php56
DIR
-
drwxr-xr-x
2026-02-02 22:02:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php71
DIR
-
drwxr-xr-x
2026-02-02 22:02:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php81
DIR
-
drwxr-xr-x
2026-02-02 22:02:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php82
DIR
-
drwxr-xr-x
2026-02-02 22:02:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
.env
2.37 KB
lrw-r--r--
2024-04-08 09:40:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
.htaccess
312 B
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
App.php
7.72 KB
lrw-r--r--
2024-04-01 05:22:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
clone.php
5.03 KB
lrw-r--r--
2026-02-02 12:50:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Database.php
6.24 KB
lrw-r--r--
2025-12-16 08:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fileindex.php
150 B
lrw-r--r--
2022-06-17 10:34:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
igniter.zip
6.71 MB
lrw-r--r--
2026-02-02 12:26:16
Edit
Download
Rename
Chmod
Change Date
Unzip here
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
import.php
4.50 KB
lrw-r--r--
2026-02-02 12:50:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
info.xml
4.05 KB
lrw-r--r--
2026-02-02 12:26:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install.js
921 B
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install.php
3.81 KB
lrw-r--r--
2026-02-02 12:50:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install.xml
288 B
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
md5
4.04 KB
lrw-r--r--
2026-02-02 12:50:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
notes.txt
299 B
lrw-r--r--
2024-04-08 09:40:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).