Load hash salt from file if it exists
This commit is contained in:
parent
eecefc49cd
commit
1347c93b96
|
@ -266,7 +266,9 @@ $databases = [];
|
||||||
* $settings['hash_salt'] = file_get_contents('/home/example/salt.txt');
|
* $settings['hash_salt'] = file_get_contents('/home/example/salt.txt');
|
||||||
* @endcode
|
* @endcode
|
||||||
*/
|
*/
|
||||||
$settings['hash_salt'] = '';
|
if (file_exists($app_root . '/../salt.txt')) {
|
||||||
|
$settings['hash_salt'] = file_get_contents($app_root . '/../salt.txt');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deployment identifier.
|
* Deployment identifier.
|
||||||
|
|
Loading…
Reference in a new issue