1
0
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:
Cameron
2012-11-24 11:59:05 -08:00
parent 4367ddd2d4
commit c823271842
5 changed files with 5 additions and 403 deletions

View File

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