diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-11-09 19:29:32 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-11-09 19:29:32 +0000 |
commit | 33a0bb1edf2cd26b52336f429893945c38f4e4a8 (patch) | |
tree | 6a1c44399fcfd60e75b01f51902578afd6783724 /phpBB/includes/acp/acp_main.php | |
parent | 184d410b80088407a41bdcc8eb79198c35f4fbb4 (diff) | |
download | forums-33a0bb1edf2cd26b52336f429893945c38f4e4a8.tar forums-33a0bb1edf2cd26b52336f429893945c38f4e4a8.tar.gz forums-33a0bb1edf2cd26b52336f429893945c38f4e4a8.tar.bz2 forums-33a0bb1edf2cd26b52336f429893945c38f4e4a8.tar.xz forums-33a0bb1edf2cd26b52336f429893945c38f4e4a8.zip |
ok, trim down the config check significantly for 3.0.3 until we properly discussed this
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9055 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_main.php')
-rw-r--r-- | phpBB/includes/acp/acp_main.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index 2b932ebeeb..8c3f3f4c63 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -487,7 +487,8 @@ class acp_main if (file_exists($phpbb_root_path . 'config.' . $phpEx) && is_writable($phpbb_root_path . 'config.' . $phpEx)) { - $template->assign_var('S_WRITABLE_CONFIG', true); + // World-Writable? (000x) + $template->assign_var('S_WRITABLE_CONFIG', (bool) (@fileperms($phpbb_root_path . 'config.' . $phpEx) & 0x0002)); } $this->tpl_name = 'acp_main'; |