jsbin/config.php
Aron Carroll 1e2db431cc Add support for local configuration files
It is now possible to create a config.local.php file that will be used
to pull in settings rather than modifying the config.default.php. This
local file is ignored by git.

To create a local file copy the default file into a new one.

    $ cp config.default.php config.local.php

Then edit the settings at will.
2012-04-17 11:06:49 +01:00

5 lines
152 B
PHP

<?php
// Pull in the local settings. Fallback to the defaults.
require(file_exists('config.local.php') ? 'config.local.php' : 'config.default.php');
?>