diff --git a/ci4/app/ThirdParty/DatatablesEditor/config.php b/ci4/app/ThirdParty/DatatablesEditor/config.php index 342cab86..13ecca10 100644 --- a/ci4/app/ThirdParty/DatatablesEditor/config.php +++ b/ci4/app/ThirdParty/DatatablesEditor/config.php @@ -9,22 +9,13 @@ ini_set('display_errors', '1'); * Database user / pass */ $sql_details = array( - /* + "type" => "Mysql", // Database type: "Mysql", "Postgres", "Sqlserver", "Sqlite" or "Oracle" - "user" => "sk_imn", // Database user name - "pass" => "Uyia19_87", // Database password - "host" => "localhost", // Database host + "user" => getenv("database.default.username"), // Database user name + "pass" => getenv("database.default.password"), // Database password + "host" => getenv("database.default.hostname"), // Database host "port" => "", // Database connection port (can be left empty for default) - "db" => "sk_imn", // Database name - "dsn" => "", // PHP DSN extra information. Set as `charset=utf8mb4` if you are using MySQL - "pdoAttr" => array() // PHP PDO attributes array. See the PHP documentation for all options - */ - "type" => "Mysql", // Database type: "Mysql", "Postgres", "Sqlserver", "Sqlite" or "Oracle" - "user" => "sk_jjo", // Database user name - "pass" => "61tv&G1Zf^XY", // Database password - "host" => "localhost", // Database host - "port" => "", // Database connection port (can be left empty for default) - "db" => "sk_jjo", // Database name + "db" => getenv("database.default.database"), // Database name "dsn" => "", // PHP DSN extra information. Set as `charset=utf8mb4` if you are using MySQL "pdoAttr" => array() // PHP PDO attributes array. See the PHP documentation for all options );