forked from leftypol/leftypol
Put secrets in another file.
This commit makes it easier to make changes to the instance config without worrying about overwriting secrets and database configuration. It also mitigates some possibility of leaking secrets.
This commit is contained in:
parent
662b02a336
commit
891329946e
1 changed files with 24 additions and 0 deletions
24
inc/instance-config.secret.php.EXAMPLE
Normal file
24
inc/instance-config.secret.php.EXAMPLE
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Instance Configuration Secrets
|
||||||
|
* ------------------------------
|
||||||
|
* Put secrets here to avoid accidentally leaking them in commits.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Database configuration
|
||||||
|
*/
|
||||||
|
|
||||||
|
$config['db']['server'] = 'localhost';
|
||||||
|
$config['db']['database'] = 'lainchan';
|
||||||
|
$config['db']['prefix'] = '';
|
||||||
|
$config['db']['user'] = 'lainchan';
|
||||||
|
$config['db']['password'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Salt
|
||||||
|
*/
|
||||||
|
$config['secure_trip_salt'] = '';
|
||||||
|
$config['cookies']['salt'] = '';
|
Loading…
Add table
Add a link
Reference in a new issue