diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-10-17 14:20:59 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-10-17 14:20:59 +0200 |
commit | e1fc008d15b14b383934c6a0291105377a852b53 (patch) | |
tree | 3082305d97ce7b18091b6626dfd5ff85c18a471f /phpBB/phpbb/avatar/driver/local.php | |
parent | 852b707b48cef513318d52db1d2a5f40621636d6 (diff) | |
download | forums-e1fc008d15b14b383934c6a0291105377a852b53.tar forums-e1fc008d15b14b383934c6a0291105377a852b53.tar.gz forums-e1fc008d15b14b383934c6a0291105377a852b53.tar.bz2 forums-e1fc008d15b14b383934c6a0291105377a852b53.tar.xz forums-e1fc008d15b14b383934c6a0291105377a852b53.zip |
[ticket/11930] Use \phpbb\path_helper for avatar URLs
This will ensure that avatars still properly display on extension pages
supplied via app.php.
PHPBB3-11930
Diffstat (limited to 'phpBB/phpbb/avatar/driver/local.php')
-rw-r--r-- | phpBB/phpbb/avatar/driver/local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/avatar/driver/local.php b/phpBB/phpbb/avatar/driver/local.php index d779099c46..0686ffe79a 100644 --- a/phpBB/phpbb/avatar/driver/local.php +++ b/phpBB/phpbb/avatar/driver/local.php @@ -29,7 +29,7 @@ class local extends \phpbb\avatar\driver\driver public function get_data($row) { return array( - 'src' => $this->phpbb_root_path . $this->config['avatar_gallery_path'] . '/' . $row['avatar'], + 'src' => $this->path_helper->get_web_root_path() . $this->config['avatar_gallery_path'] . '/' . $row['avatar'], 'width' => $row['avatar_width'], 'height' => $row['avatar_height'], ); |