aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-04-14 22:44:37 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-04-14 22:44:37 +0200
commitc6fd2f01eb334a8a78bebc1cffd0f071fbe056ea (patch)
treee3e69bcf567a878b365dc897529e28b653e5cd4e /phpBB/includes/acp
parente64c2326bdf36ac071f07881d4ca5aba202e6249 (diff)
downloadforums-c6fd2f01eb334a8a78bebc1cffd0f071fbe056ea.tar
forums-c6fd2f01eb334a8a78bebc1cffd0f071fbe056ea.tar.gz
forums-c6fd2f01eb334a8a78bebc1cffd0f071fbe056ea.tar.bz2
forums-c6fd2f01eb334a8a78bebc1cffd0f071fbe056ea.tar.xz
forums-c6fd2f01eb334a8a78bebc1cffd0f071fbe056ea.zip
[ticket/8960] Allow changing avatar path if it's not writable
This change will allow users to change the avatar path even if it's not writable. However, this will get rid of the error message that the path is not writable. Due to this, a minor addition to the explain message in the ACP settings has been made. PHPBB3-8960
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_board.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index ebbf66657e..526d8e05da 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -123,7 +123,7 @@ class acp_board
'avatar_filesize' => array('lang' => 'MAX_FILESIZE', 'validate' => 'int:0', 'type' => 'text:4:10', 'explain' => true, 'append' => ' ' . $user->lang['BYTES']),
'avatar_min' => array('lang' => 'MIN_AVATAR_SIZE', 'validate' => 'int:0', 'type' => 'dimension:3:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
'avatar_max' => array('lang' => 'MAX_AVATAR_SIZE', 'validate' => 'int:0', 'type' => 'dimension:3:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
- 'avatar_path' => array('lang' => 'AVATAR_STORAGE_PATH', 'validate' => 'rwpath', 'type' => 'text:20:255', 'explain' => true),
+ 'avatar_path' => array('lang' => 'AVATAR_STORAGE_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', 'explain' => true),
'avatar_gallery_path' => array('lang' => 'AVATAR_GALLERY_PATH', 'validate' => 'rpath', 'type' => 'text:20:255', 'explain' => true)
)
);