Elgg  Version 2.3
Variables
upload.php File Reference

Go to the source code of this file.

Variables

 $guid = get_input('guid')
 Avatar upload action. More...
 
 $owner = get_entity($guid)
 
if(!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $error = elgg_get_friendly_upload_error($_FILES['avatar']['error'])
 

Variable Documentation

if (!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $error = elgg_get_friendly_upload_error($_FILES['avatar']['error'])

Definition at line 14 of file upload.php.

$guid = get_input('guid')

Avatar upload action.

Definition at line 6 of file upload.php.

$owner = get_entity($guid)

Definition at line 7 of file upload.php.