Skip to content

Instantly share code, notes, and snippets.

View tona's full-sized avatar

tonatiuhNava tona

View GitHub Profile
@tona
tona / drupal-7-example-local-settings.php
Created August 5, 2017 03:59 — forked from delphian/drupal-7-example-local-settings.php
Example of drupal 7 local settings.php file.
<?php
// To set up a local environment, make a duplicate of this file and name it
// local-settings.inc in the site directory that contains the settings.php file.
// Ignore sites/*/local-settings.php in the .gitignore file. Change the settings.php
// file to include local-settings.php if the file exists.
// Point database to local service.
$databases['default']['default'] = array(
'database' => 'local_db_name',