diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-08-31 11:25:28 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-08-31 11:25:28 +0000 |
commit | fe6cb1489c4517de0f9902dabdad9bb870a67521 (patch) | |
tree | d169a4db4016013056acbbf12ab2c9c22e78c784 /phpBB/includes | |
parent | bef4eb231fdd5184e2895bb8fbfdb43c129c7768 (diff) | |
download | forums-fe6cb1489c4517de0f9902dabdad9bb870a67521.tar forums-fe6cb1489c4517de0f9902dabdad9bb870a67521.tar.gz forums-fe6cb1489c4517de0f9902dabdad9bb870a67521.tar.bz2 forums-fe6cb1489c4517de0f9902dabdad9bb870a67521.tar.xz forums-fe6cb1489c4517de0f9902dabdad9bb870a67521.zip |
Fix wrong error message for non-writable template file in acp_styles.php - Bug #50045
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10074 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 166ad11d3e..fbf3eadcb2 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -747,7 +747,8 @@ parse_css_file = {PARSE_CSS_FILE} { if (!($fp = @fopen($file, 'wb'))) { - trigger_error($user->lang['NO_TEMPLATE'] . adm_back_link($this->u_action), E_USER_WARNING); + // File exists and is writeable, but still not able to be written to + trigger_error(sprintf($user->lang['TEMPLATE_FILE_NOT_WRITABLE'], htmlspecialchars($template_file)) . adm_back_link($this->u_action), E_USER_WARNING); } fwrite($fp, $template_data); fclose($fp); |