aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/upload.php
blob: 21a24786de6143341738b77ec0b0d6d82caa52d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

	// This page can only be run from within the Elgg framework
		if (!is_callable('elgg_view')) exit;
		
	// Get the name of the form field we need to inject into
		$internalname = get_input('internalname');
		
		global $SESSION;
		
	// Echo the embed view
		echo elgg_view('embed/upload', array(
							'entities' => $entities,
							'internalname' => $internalname,
					   ));

?>