-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added default.settings.local.php support
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
/** | ||
* For local or shared development, copy this file to settings.local.php, | ||
* then populate the copied file with your website's database information and base_url. | ||
* | ||
* This file will not be committed to the repository, which allows multiple | ||
* instances of the website to share the same codebase. | ||
*/ | ||
|
||
$databases['default']['default'] = array( | ||
'driver' => 'mysql', | ||
'database' => '', // Choose & write a name for this site's db in-between | ||
// the single quotation marks. DB name must contain only | ||
// lowercase letters, numbers, and underscores. | ||
|
||
'username' => 'root', // root is the academyvm mysql username | ||
'password' => 'root', // root is the academyvm mysql password | ||
'host' => 'localhost', | ||
'collation' => 'utf8_general_ci', | ||
); | ||
|
||
|
||
/** | ||
* Base URL | ||
* | ||
* Examples: | ||
* $base_url = 'http://dev-1.academyvm.dev/proj-arcs'; | ||
* $base_url = 'http://dev-2.academyvm.dev/proj-debugacademy'; | ||
* $base_url = 'http://stage-1.academyvm.dev/proj-arcs'; | ||
*/ | ||
$base_url = ''; // Write the site's URL in-between the single quotations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters