This commit is contained in:
ポール ウェッブ 2019-04-16 10:01:43 -05:00
parent 1ede1805bb
commit afdf804012
2 changed files with 3 additions and 4 deletions

View file

@ -61,7 +61,7 @@ class Response
public static function getMetaImages()
{
return static::$metaImages ?: [Request::getHostAndProto() . '/img/lbry-green-meta-1200x900.png'];
return static::$metaImages ?: [Request::getHostAndProto() . '/img/og-image.png'];
}
public static function setMetaTitle($title)
@ -371,15 +371,14 @@ class Response
);
}
public static function addPostRenderCallback( $cb )
public static function addPostRenderCallback($cb)
{
array_push(static::$PostRenderCallbacks, $cb);
}
public static function invokePostRenderCallbacks()
{
foreach(static::$PostRenderCallbacks as &$cb )
{
foreach (static::$PostRenderCallbacks as &$cb) {
$cb();
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 656 KiB