Update API
Add site_url property for 9e169dc3aa7c7e30c11d7d3d1bbc4bc66fa39760
This commit is contained in:
parent
a4543de3ac
commit
5bfd18d3e6
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
class API extends Handler {
|
||||
|
||||
const API_LEVEL = 20;
|
||||
const API_LEVEL = 21;
|
||||
|
||||
const STATUS_OK = 0;
|
||||
const STATUS_ERR = 1;
|
||||
|
@ -844,6 +844,8 @@ class API extends Handler {
|
|||
$headline_row["note"] = $line["note"];
|
||||
$headline_row["lang"] = $line["lang"];
|
||||
|
||||
$headline_row["site_url"] = $line["site_url"]
|
||||
|
||||
if ($show_content) {
|
||||
$hook_object = ["headline" => &$headline_row];
|
||||
|
||||
|
|
Loading…
Reference in New Issue