diff options
| author | Chris Smith <toonarmy@phpbb.com> | 2008-11-09 19:38:44 +0000 |
|---|---|---|
| committer | Chris Smith <toonarmy@phpbb.com> | 2008-11-09 19:38:44 +0000 |
| commit | 2b477bad8fd492f0be052f1019ae3a427ae263b4 (patch) | |
| tree | 8f1ac28ac1c7eb02d814009fcca15b809f7b8ec5 /phpBB/includes/acp/acp_main.php | |
| parent | 33a0bb1edf2cd26b52336f429893945c38f4e4a8 (diff) | |
| download | forums-2b477bad8fd492f0be052f1019ae3a427ae263b4.tar forums-2b477bad8fd492f0be052f1019ae3a427ae263b4.tar.gz forums-2b477bad8fd492f0be052f1019ae3a427ae263b4.tar.bz2 forums-2b477bad8fd492f0be052f1019ae3a427ae263b4.tar.xz forums-2b477bad8fd492f0be052f1019ae3a427ae263b4.zip | |
Provide a way to disable the config write check and rename the ACP style editor disable constant
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9056 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 8c3f3f4c63..d100c49381 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -485,7 +485,7 @@ class acp_main $template->assign_var('S_REMOVE_INSTALL', true); } - if (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) && is_writable($phpbb_root_path . 'config.' . $phpEx)) { // World-Writable? (000x) $template->assign_var('S_WRITABLE_CONFIG', (bool) (@fileperms($phpbb_root_path . 'config.' . $phpEx) & 0x0002)); |
