try again with shutdown handler, fix issue #373 (live-pubstream div wasn't present
This commit is contained in:
@@ -28,7 +28,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
|
||||
if(! $maxheight)
|
||||
$maxheight = 400;
|
||||
|
||||
$o .= '<div id="live-public"></div>' . "\r\n";
|
||||
$o .= '<div id="live-pubstream"></div>' . "\r\n";
|
||||
$o .= "<script> var profile_uid = " . ((intval(local_channel())) ? local_channel() : (-1))
|
||||
. "; var profile_page = " . \App::$pager['page']
|
||||
. "; divmore_height = " . intval($maxheight) . "; </script>\r\n";
|
||||
@@ -161,7 +161,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
|
||||
|
||||
if(($items) && (! $update))
|
||||
$o .= alt_pager($a,count($items));
|
||||
|
||||
|
||||
return $o;
|
||||
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Zotlabs\Module;
|
||||
class Update_pubstream extends \Zotlabs\Web\Controller {
|
||||
|
||||
function get() {
|
||||
|
||||
|
||||
$profile_uid = ((intval($_GET['p'])) ? intval($_GET['p']) : (-1));
|
||||
$load = (((argc() > 1) && (argv(1) == 'load')) ? 1 : 0);
|
||||
header("Content-type: text/html");
|
||||
|
||||
Reference in New Issue
Block a user