1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/15276] Remove avatar_path

PHPBB3-15276
This commit is contained in:
Rubén Calvo
2017-08-09 13:43:22 +02:00
parent 0ff80fead8
commit 2afada5a5a
9 changed files with 39 additions and 57 deletions

View File

@@ -281,7 +281,7 @@ class convertor
$bad_folders = array();
$local_paths = array(
'avatar_path' => path($config['avatar_path']),
'avatar_path' => path($config['storage\\avatar\\config\\path']),
'avatar_gallery_path' => path($config['avatar_gallery_path']),
'icons_path' => path($config['icons_path']),
'ranks_path' => path($config['ranks_path']),

View File

@@ -311,7 +311,7 @@ if (!$get_info)
$convertor = array(
'test_file' => 'viewtopic.php',
'avatar_path' => get_config_value('avatar_path') . '/',
'avatar_path' => get_config_value('storage\\avatar\\config\\path') . '/',
'avatar_gallery_path' => get_config_value('avatar_gallery_path') . '/',
'smilies_path' => get_config_value('smilies_path') . '/',
'upload_path' => (defined('MOD_ATTACHMENT')) ? phpbb_get_files_dir() . '/' : '',