call parse_url from rpost and add the result to the content body if invoked with a url argument
This commit is contained in:
parent
2010d6a332
commit
274a30f2db
@ -107,6 +107,11 @@ function rpost_content(&$a) {
|
|||||||
// ));
|
// ));
|
||||||
|
|
||||||
|
|
||||||
|
if($_REQUEST['url']) {
|
||||||
|
$x = z_fetch_url(z_root() . '/parse_url?f=&url=' . urlencode($_REQUEST['url']));
|
||||||
|
if($x['success'])
|
||||||
|
$_REQUEST['body'] = $_REQUEST['body'] . $x['body'];
|
||||||
|
}
|
||||||
|
|
||||||
$x = array(
|
$x = array(
|
||||||
'is_owner' => true,
|
'is_owner' => true,
|
||||||
|
Reference in New Issue
Block a user