diff options
| author | Chris Smith <toonarmy@phpbb.com> | 2009-06-03 10:19:17 +0000 |
|---|---|---|
| committer | Chris Smith <toonarmy@phpbb.com> | 2009-06-03 10:19:17 +0000 |
| commit | be8457d3c418441317177bfcdf7378410ac28d55 (patch) | |
| tree | 49311dfed0e35e06d194ffe15cba7e5941b339e8 /phpBB/includes/acp/acp_main.php | |
| parent | 62aa26c9a6681956bfb8af61447cd078271cc0a0 (diff) | |
| download | forums-be8457d3c418441317177bfcdf7378410ac28d55.tar forums-be8457d3c418441317177bfcdf7378410ac28d55.tar.gz forums-be8457d3c418441317177bfcdf7378410ac28d55.tar.bz2 forums-be8457d3c418441317177bfcdf7378410ac28d55.tar.xz forums-be8457d3c418441317177bfcdf7378410ac28d55.zip | |
Correctly determine writable status of files on Windows operating system. #39035
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9528 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_main.php')
| -rw-r--r-- | phpBB/includes/acp/acp_main.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index 8a92c06e04..365290e909 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -504,7 +504,7 @@ class acp_main $template->assign_var('S_REMOVE_INSTALL', true); } - if (!defined('PHPBB_DISABLE_CONFIG_CHECK') && file_exists($phpbb_root_path . 'config.' . $phpEx) && is_writable($phpbb_root_path . 'config.' . $phpEx)) + if (!defined('PHPBB_DISABLE_CONFIG_CHECK') && file_exists($phpbb_root_path . 'config.' . $phpEx) && phpbb_is_writable($phpbb_root_path . 'config.' . $phpEx)) { // World-Writable? (000x) $template->assign_var('S_WRITABLE_CONFIG', (bool) (@fileperms($phpbb_root_path . 'config.' . $phpEx) & 0x0002)); |
