mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
removed e107_files/ and updated some paths.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
//<?php
|
||||
global $loop_uid;
|
||||
if($parm == "" && is_numeric($loop_uid))
|
||||
{
|
||||
@@ -23,9 +24,9 @@ else
|
||||
{
|
||||
$image = USERPHOTO;
|
||||
}
|
||||
if($image && file_exists(e_FILE."public/avatars/".$image))
|
||||
if($image && file_exists(e_MEDIA_AVATAR.$image))
|
||||
{
|
||||
return "<img src='".e_FILE_ABS."public/avatars/{$image}' alt='' />";
|
||||
return "<img src='".e_MEDIA_AVATAR_ABS."{$image}' alt='' />";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user