aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/config.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-04-21 22:22:35 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-04-21 22:22:35 +0200
commit8e5a0c81ef118c7d88e10fb7d793a36e9204aea8 (patch)
tree0a7f8c7d840cf523d1a9296873c3fff6dd285c9f /phpBB/phpbb/install/helper/config.php
parent2b0645b7b9030ce5101f3a3aa4c10ed446527dc8 (diff)
downloadforums-8e5a0c81ef118c7d88e10fb7d793a36e9204aea8.tar
forums-8e5a0c81ef118c7d88e10fb7d793a36e9204aea8.tar.gz
forums-8e5a0c81ef118c7d88e10fb7d793a36e9204aea8.tar.bz2
forums-8e5a0c81ef118c7d88e10fb7d793a36e9204aea8.tar.xz
forums-8e5a0c81ef118c7d88e10fb7d793a36e9204aea8.zip
[ticket/security/233] Make smtp_password and smtp_username dynamic
SECURITY-233
Diffstat (limited to 'phpBB/phpbb/install/helper/config.php')
-rw-r--r--phpBB/phpbb/install/helper/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/install/helper/config.php b/phpBB/phpbb/install/helper/config.php
index fad6749019..7eb0ae3b05 100644
--- a/phpBB/phpbb/install/helper/config.php
+++ b/phpBB/phpbb/install/helper/config.php
@@ -330,6 +330,8 @@ class config
fwrite($fp, $file_content);
fclose($fp);
+ // Enforce 0600 permission for install config
+ $this->filesystem->chmod([$this->install_config_file], 0600);
}
/**