mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
Ivan - Reset configuration
This commit is contained in:
parent
e8ee0427d0
commit
81d97fa271
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
'serverport': 4000,
|
'serverport': 3000,
|
||||||
|
|
||||||
'scripts': {
|
'scripts': {
|
||||||
'src': './src/*.js',
|
'src': './src/*.js',
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
define('MYSQL_HOST', 'localhost');
|
$env['MYSQL_SERVER'] = getenv('MYSQL_SERVER');
|
||||||
define('MYSQL_USER', 'root');
|
$env['MYSQL_USER'] = getenv('MYSQL_USER');
|
||||||
define('MYSQL_PASSWORD', '');
|
$env['MYSQL_PASSWORD'] = getenv('MYSQL_PASSWORD');
|
||||||
define('MYSQL_DATABASE', 'development');
|
$env['MYSQL_DATABASE'] = getenv('MYSQL_DATABASE');
|
||||||
|
|
||||||
|
$mysql_host = ($env['MYSQL_SERVER']) ? $env['MYSQL_SERVER'] : 'localhost';
|
||||||
|
$mysql_user = ($env['MYSQL_USER']) ? $env['MYSQL_USER'] : 'root';
|
||||||
|
$mysql_password = ($env['MYSQL_PASSWORD']) ? $env['MYSQL_PASSWORD'] : '';
|
||||||
|
$mysql_database = ($env['MYSQL_DATABASE']) ? $env['MYSQL_DATABASE'] : 'development';
|
||||||
|
|
||||||
|
define('MYSQL_HOST', $mysql_host);
|
||||||
|
define('MYSQL_USER', $mysql_user);
|
||||||
|
define('MYSQL_PASSWORD', $mysql_password);
|
||||||
|
define('MYSQL_DATABASE', $mysql_database);
|
Loading…
x
Reference in New Issue
Block a user