aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_profile.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-08-10 16:11:39 +0200
committerJoas Schilling <nickvergessen@gmx.de>2010-08-10 16:11:39 +0200
commit4c95ed0eeb497d3febe3169614e9385cefa648d2 (patch)
treec65516aeb9bdb2aa8d8f2a5b111b8e95ddf8b45d /phpBB/includes/ucp/ucp_profile.php
parentda256b33d93978f672aa07e0e94be585a7d1d2ee (diff)
downloadforums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar
forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar.gz
forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar.bz2
forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.tar.xz
forums-4c95ed0eeb497d3febe3169614e9385cefa648d2.zip
[ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().
acm_memory.php is untested. install/install_convert.php and includes/functions_convert.php are going to be tested and committed afterwards. PHPBB3-9519
Diffstat (limited to 'phpBB/includes/ucp/ucp_profile.php')
-rw-r--r--phpBB/includes/ucp/ucp_profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index 363a4803b6..9790cab81f 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -564,7 +564,7 @@ class ucp_profile
$avatar_select = basename(request_var('avatar_select', ''));
$category = basename(request_var('category', ''));
- $can_upload = (file_exists($phpbb_root_path . $config['avatar_path']) && @is_writable($phpbb_root_path . $config['avatar_path']) && $auth->acl_get('u_chgavatar') && (@ini_get('file_uploads') || strtolower(@ini_get('file_uploads')) == 'on')) ? true : false;
+ $can_upload = (file_exists($phpbb_root_path . $config['avatar_path']) && phpbb_is_writable($phpbb_root_path . $config['avatar_path']) && $auth->acl_get('u_chgavatar') && (@ini_get('file_uploads') || strtolower(@ini_get('file_uploads')) == 'on')) ? true : false;
add_form_key('ucp_avatar');