aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Embed.php
blob: 77b9254dd12493a08b067da8aa78c950d6b6fa23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
namespace Zotlabs\Module;

require_once('include/security.php');
require_once('include/bbcode.php');


class Embed extends \Zotlabs\Web\Controller {

	function init() {
	
		$post_id = ((argc() > 1) ? intval(argv(1)) : 0);
	
		if(! $post_id)
			killme();
	
		echo '[share=' . $post_id . '][/share]';
		killme();

	}
	
}