PluginProbe
Depicter — Popup & Slider Builder / trunk
Depicter — Popup & Slider Builder vtrunk
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
depicter / vendor / averta / wordpress / src / Database / ORM / Config / database.php

database.php in Depicter — Popup & Slider Builder trunk, at vendor/averta/wordpress/src/Database/ORM/Config/database.php

39 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 return [
3
4 /*
5 |--------------------------------------------------------------------------
6 | Default Database Connection
7 |--------------------------------------------------------------------------
8 |
9 | This option defines the default database driver that is used when a query
10 | or model is instantiated. See the list of drivers below the available
11 | options. You can add your own to the list.
12 |
13 */
14 'default' => 'wp',
15
16 /*
17 |--------------------------------------------------------------------------
18 | Connections
19 |--------------------------------------------------------------------------
20 |
21 | Here you may configure the database drivers for your application.
22 |
23 | Available Drivers: "wp"
24 */
25 'drivers' => [
26 'wp' => [
27 'driver' => '\TypeRocket\Database\Connectors\WordPressCoreDatabaseConnector',
28 ],
29
30 'alt' => [
31 'driver' => '\TypeRocket\Database\Connectors\CoreDatabaseConnector',
32 'username' => 'TYPEROCKET_ALT_DATABASE_USER',
33 'password' => 'TYPEROCKET_ALT_DATABASE_PASSWORD',
34 'database' => 'TYPEROCKET_ALT_DATABASE_DATABASE',
35 'host' => 'TYPEROCKET_ALT_DATABASE_HOST',
36 ],
37 ]
38 ];
39