diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-12 07:08:21 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-12 07:08:21 +0000 |
commit | f27d0c466e54e95aa1400e0435b78a8f7465256f (patch) | |
tree | 9e71b45fb9089a9b18d007cd0ed1ace40de46f73 /phpBB/includes/acp/acp_styles.php | |
parent | 49cc38ebba21dc8b26240a87a23f1d422dd74472 (diff) | |
download | forums-f27d0c466e54e95aa1400e0435b78a8f7465256f.tar forums-f27d0c466e54e95aa1400e0435b78a8f7465256f.tar.gz forums-f27d0c466e54e95aa1400e0435b78a8f7465256f.tar.bz2 forums-f27d0c466e54e95aa1400e0435b78a8f7465256f.tar.xz forums-f27d0c466e54e95aa1400e0435b78a8f7465256f.zip |
basically what is listed within the changelog. ;)
git-svn-id: file:///svn/phpbb/trunk@7872 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index db5bca1ba6..b0c2c5465d 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -700,7 +700,7 @@ parse_css_file = {PARSE_CSS_FILE} // If the template is stored on the filesystem try to write the file else store it in the database if (!$safe_mode && !$template_info['template_storedb'] && file_exists($file) && @is_writable($file)) { - if (!($fp = fopen($file, 'wb'))) + if (!($fp = @fopen($file, 'wb'))) { trigger_error($user->lang['NO_TEMPLATE'] . adm_back_link($this->u_action), E_USER_WARNING); } @@ -1055,7 +1055,7 @@ parse_css_file = {PARSE_CSS_FILE} // If the theme is stored on the filesystem try to write the file else store it in the database if (!$safe_mode && !$theme_info['theme_storedb'] && file_exists($file) && @is_writable($file)) { - if (!($fp = fopen($file, 'wb'))) + if (!($fp = @fopen($file, 'wb'))) { trigger_error($user->lang['NO_THEME'] . adm_back_link($this->u_action), E_USER_WARNING); } @@ -2344,7 +2344,7 @@ parse_css_file = {PARSE_CSS_FILE} { foreach ($file_ary as $file) { - if (!($fp = fopen("{$phpbb_root_path}styles/$template_path$pathfile$file", 'r'))) + if (!($fp = @fopen("{$phpbb_root_path}styles/$template_path$pathfile$file", 'r'))) { trigger_error("Could not open {$phpbb_root_path}styles/$template_path$pathfile$file", E_USER_ERROR); } |