-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathconfig.php
More file actions
25 lines (22 loc) · 952 Bytes
/
Copy pathconfig.php
File metadata and controls
25 lines (22 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
// ensure DataTables.php was included
// this file must not be included when installed using composer
if (!defined('DATATABLES')) {
exit(1);
}
// Enable error reporting for debugging (remove for production)
error_reporting(\E_ALL);
ini_set('display_errors', '1');
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Database user / pass
*/
$sql_details = [
'type' => 'Mysql', // Database type: "Mysql", "Postgres", "Sqlserver", "Sqlite" or "Oracle"
'user' => '', // Database user name
'pass' => '', // Database password
'host' => 'localhost', // Database host
'port' => '', // Database connection port (can be left empty for default)
'db' => '', // Database name
'dsn' => '', // PHP DSN extra information. Set as `charset=utf8mb4` if you are using MySQL
'pdoAttr' => [], // PHP PDO attributes array. See the PHP documentation for all options
];