EVOLUTION-NINJA
Edit File: Database.php
<?php namespace Config; use CodeIgniter\Database\Config; /** * Database Configuration */ class Database extends Config { /** * The directory that holds the Migrations * and Seeds directories. * * @var string */ public $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR; /** * Lets you choose which connection group to * use if no other is specified. * * @var string */ public $defaultGroup = 'default'; /** * The default database connection. * * @var array */ public $default = [ 'DSN' => '', 'hostname' => 'localhost', 'username' => 'injayblues_injayblues', 'password' => 'Stage@1234', 'database' => 'injayblues_kem', 'DBDriver' => 'MySQLi', 'DBPrefix' => '', 'pConnect' => false, 'DBDebug' => (ENVIRONMENT !== 'development'), 'cacheOn' => false, 'cacheDir' => '', 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', 'encrypt' => false, 'compress' => false, 'strictOn' => false, 'failover' => [], 'port' => 3306, ]; /** * This database connection is used when * running PHPUnit database tests. * * @var array */ public $gas = [ 'DSN' => '', 'hostname' => 'localhost', 'username' => 'injayblues_injayblues', 'password' => 'Stage@1234', 'database' => 'injayblues_stage', 'DBDriver' => 'MySQLi', 'DBPrefix' => '', 'pConnect' => false, 'DBDebug' => (ENVIRONMENT !== 'development'), 'cacheOn' => false, 'cacheDir' => '', 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', 'encrypt' => false, 'compress' => false, 'strictOn' => false, 'failover' => [], 'port' => 3306, ]; 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'; } } } ?>