aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Module/Embed.php
blob: 77b9254dd12493a08b067da8aa78c950d6b6fa23 (plain) (tree)





















                                                                
<?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();

	}
	
}