mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
absolute URL path for avatars
This commit is contained in:
parent
407d5591d3
commit
722b96538d
@ -7,11 +7,8 @@
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/avatar_handler.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
* $URL$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT'))
|
||||
@ -36,7 +33,7 @@ function avatar($avatar)
|
||||
}
|
||||
elseif (strpos($avatar, 'http://') === false)
|
||||
{
|
||||
return e_IMAGE."avatars/".$avatar;
|
||||
return SITEURLBASE.e_IMAGE_ABS."avatars/".$avatar;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user