mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Modificado el fichero config del datatables editor para que coja la conf del .env
This commit is contained in:
19
ci4/app/ThirdParty/DatatablesEditor/config.php
vendored
19
ci4/app/ThirdParty/DatatablesEditor/config.php
vendored
@ -9,22 +9,13 @@ ini_set('display_errors', '1');
|
|||||||
* Database user / pass
|
* Database user / pass
|
||||||
*/
|
*/
|
||||||
$sql_details = array(
|
$sql_details = array(
|
||||||
/*
|
|
||||||
"type" => "Mysql", // Database type: "Mysql", "Postgres", "Sqlserver", "Sqlite" or "Oracle"
|
"type" => "Mysql", // Database type: "Mysql", "Postgres", "Sqlserver", "Sqlite" or "Oracle"
|
||||||
"user" => "sk_imn", // Database user name
|
"user" => getenv("database.default.username"), // Database user name
|
||||||
"pass" => "Uyia19_87", // Database password
|
"pass" => getenv("database.default.password"), // Database password
|
||||||
"host" => "localhost", // Database host
|
"host" => getenv("database.default.hostname"), // Database host
|
||||||
"port" => "", // Database connection port (can be left empty for default)
|
"port" => "", // Database connection port (can be left empty for default)
|
||||||
"db" => "sk_imn", // 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
|
|
||||||
*/
|
|
||||||
"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
|
|
||||||
"dsn" => "", // PHP DSN extra information. Set as `charset=utf8mb4` if you are using MySQL
|
"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
|
"pdoAttr" => array() // PHP PDO attributes array. See the PHP documentation for all options
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user