1
0
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:
secretr 2011-07-01 12:30:18 +00:00
parent 407d5591d3
commit 722b96538d

View File

@ -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
{