File: phpbb/avatar/driver/upload.php
Unmodified
Added
Modified
Removed
Line 62 | Line 62 |
---|
*/ public function get_data($row) {
|
*/ public function get_data($row) {
|
$root_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? generate_board_url() . '/' : $this->path_helper->get_web_root_path();
| $root_path = $this->path_helper->get_web_root_path();
|
return array( 'src' => $root_path . 'download/file.' . $this->php_ext . '?avatar=' . $row['avatar'],
| return array( 'src' => $root_path . 'download/file.' . $this->php_ext . '?avatar=' . $row['avatar'],
|