Updates to 3rd party libraries
Add Dockerfile and specific docker-php.ini
This commit is contained in:
50
inc/vendor/godsgood33/php-db/src/DBConfig.php
vendored
Normal file
50
inc/vendor/godsgood33/php-db/src/DBConfig.php
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* Constant with database server to connect to
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
define('PHP_DB_SERVER', '{IP|hostname}');
|
||||
|
||||
/**
|
||||
* Constant with database user to connect with
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
define('PHP_DB_USER', '{username}');
|
||||
|
||||
/**
|
||||
* Constant with database password to connect with
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
define('PHP_DB_PWD', '{password}');
|
||||
|
||||
/**
|
||||
* Constant with database schema to connect to
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
define('PHP_DB_SCHEMA', '{schema}');
|
||||
|
||||
/**
|
||||
* Constant to define that we want to return an object
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
define('MYSQLI_OBJECT', 4);
|
||||
|
||||
/**
|
||||
* Constant to return consistent date format
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
define('MYSQL_DATE', 'Y-m-d');
|
||||
|
||||
/**
|
||||
* Constant to return consistent datetime format
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
define('MYSQL_DATETIME', 'Y-m-d H:i:s');
|
||||
|
1896
inc/vendor/godsgood33/php-db/src/Database.php
vendored
Normal file
1896
inc/vendor/godsgood33/php-db/src/Database.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user