expnaded sample env
This commit is contained in:
@@ -70,6 +70,26 @@ class Database extends Config
|
||||
'port' => 5432,
|
||||
];
|
||||
|
||||
public $myfit = [
|
||||
'DSN' => '',
|
||||
'hostname' => '10.20.30.60',
|
||||
'username' => 'myfit',
|
||||
'password' => 'myfit',
|
||||
'database' => 'myfit_dev',
|
||||
'DBDriver' => 'postgre',
|
||||
'DBPrefix' => '',
|
||||
'pConnect' => false,
|
||||
'DBDebug' => (ENVIRONMENT !== 'production'),
|
||||
'charset' => 'utf8',
|
||||
'DBCollat' => 'utf8_general_ci',
|
||||
'swapPre' => '',
|
||||
'encrypt' => false,
|
||||
'compress' => false,
|
||||
'strictOn' => false,
|
||||
'failover' => [],
|
||||
'port' => 5432,
|
||||
];
|
||||
|
||||
public $mermsemr_blog = [
|
||||
'DSN' => '',
|
||||
'hostname' => '10.10.33.60',
|
||||
@@ -147,5 +167,9 @@ class Database extends Config
|
||||
if (ENVIRONMENT === 'testing') {
|
||||
$this->defaultGroup = 'tests';
|
||||
}
|
||||
$this->myfit['hostname'] = getenv('MYFIT_DATABASE_HOSTNAME');
|
||||
$this->myfit['username'] = getenv('MYFIT_DATABASE_USERNAME');
|
||||
$this->myfit['password'] = getenv('MYFIT_DATABASE_PASSWORD');
|
||||
$this->myfit['database'] = getenv('MYFIT_DATABASE');
|
||||
}
|
||||
}
|
||||
|
||||
+12
-8
@@ -33,8 +33,8 @@ class Email extends BaseConfig
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $protocol = 'mail';
|
||||
|
||||
//public $protocol = 'mail';
|
||||
public $protocol = 'smtp';
|
||||
/**
|
||||
* The server path to Sendmail.
|
||||
*
|
||||
@@ -47,28 +47,32 @@ class Email extends BaseConfig
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $SMTPHost;
|
||||
//public $SMTPHost;
|
||||
public $SMTPHost= 'smtp.google.com';
|
||||
|
||||
/**
|
||||
* SMTP Username
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $SMTPUser;
|
||||
|
||||
//public $SMTPUser;
|
||||
public $SMTPUser='support@chiefsoft.com';
|
||||
/**
|
||||
* SMTP Password
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $SMTPPass;
|
||||
//public $SMTPPass;
|
||||
public $SMTPPass='may12002!';
|
||||
|
||||
|
||||
/**
|
||||
* SMTP Port
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $SMTPPort = 25;
|
||||
//public $SMTPPort = 25;
|
||||
public $SMTPPort = 465; // 993; //465;
|
||||
|
||||
/**
|
||||
* SMTP Timeout (in seconds)
|
||||
@@ -89,8 +93,8 @@ class Email extends BaseConfig
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
//public $SMTPCrypto = 'tls';
|
||||
public $SMTPCrypto = 'tls';
|
||||
|
||||
/**
|
||||
* Enable word-wrap
|
||||
*
|
||||
|
||||
@@ -58,13 +58,15 @@ $routes->post('/en/desktop/api/v2/myfituser/resetpass', 'Myfitauth::users');
|
||||
$routes->post('/en/desktop/api/v2/myfituser/login', 'Myfitauth::users');
|
||||
//--create acount
|
||||
$routes->post('/en/desktop/api/v2/myfituser/account', 'Myfitauth::users');
|
||||
|
||||
$routes->post('/en/desktop/api/v2/myfituser/signup-code', 'Myfitauth::users');
|
||||
$routes->post('/en/desktop/api/v2/myfituser/resetpass-code', 'Myfitauth::users');
|
||||
|
||||
$routes->get('/en/desktop/api/v2/myfituser/profile', 'Myfituser::users');
|
||||
$routes->get('/en/desktop/api/v2/myfituser/myfeed', 'Myfituser::users');
|
||||
|
||||
//Tracking
|
||||
$routes->post('/en/desktop/api/v2/myfituser/tracking', 'Myfituser::users');
|
||||
$routes->get('/en/desktop/api/v2/myfituser/trackinghx', 'Myfituser::users');
|
||||
$routes->get('/en/desktop/api/v2/myfituser/trackcategory', 'Myfituser::users');
|
||||
|
||||
// REMINDERS -------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user