/
environment.php
executable file
·34 lines (26 loc) · 1.25 KB
/
environment.php
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
26
27
28
29
30
31
32
33
34
<?php
/*-------------------------------------------------------------------------------------------------
LOCAL
This is your environment file that contains configs specific to *this* environment.
Your local setup and your live setup should both have their own versions of this file.
This file should not be tracked in your Git repo.
-------------------------------------------------------------------------------------------------*/
# We're on the local environment so toggle IN_PRODUCTION off
define('IN_PRODUCTION', FALSE);
# Always display errors on local environment
define('DISPLAY_ERRORS', TRUE);
# To avoid accidentally sending a mass amount of emails to your users when testing, always disable outgoing emails on your local environment
define('ENABLE_OUTGOING_EMAIL', TRUE);
# Toggle this based on whether you want to connect to your local DB or your live DB
define('REMOTE_DB', FALSE);
if (REMOTE_DB) {
define('DB_HOST', 'localhost');
define('DB_USER', 'virskaco');
define('DB_PASS', 'Maxbemis45!');
} else {
define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', 'root');
}
# If you want to test parts of your app that behave differently based on the time, you can force the time here.
//define(MIMIC_TIME, "September 30, 2012 12:00pm");