aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Pubstream.php4
-rw-r--r--Zotlabs/Module/Update_pubstream.php2
-rw-r--r--Zotlabs/Web/Session.php5
3 files changed, 7 insertions, 4 deletions
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php
index d6cfe6e92..e48f8363c 100644
--- a/Zotlabs/Module/Pubstream.php
+++ b/Zotlabs/Module/Pubstream.php
@@ -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;
}
diff --git a/Zotlabs/Module/Update_pubstream.php b/Zotlabs/Module/Update_pubstream.php
index 153db56ba..952b48df3 100644
--- a/Zotlabs/Module/Update_pubstream.php
+++ b/Zotlabs/Module/Update_pubstream.php
@@ -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");
diff --git a/Zotlabs/Web/Session.php b/Zotlabs/Web/Session.php
index f998df396..e18ad38fb 100644
--- a/Zotlabs/Web/Session.php
+++ b/Zotlabs/Web/Session.php
@@ -31,7 +31,7 @@ class Session {
$handler = new \Zotlabs\Web\SessionHandler();
self::$handler = $handler;
- $x = session_set_save_handler($handler,true);
+ $x = session_set_save_handler($handler,false);
if(! $x)
logger('Session save handler initialisation failed.',LOGGER_NORMAL,LOG_ERR);
@@ -46,6 +46,9 @@ class Session {
((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),
((isset($arr['httponly'])) ? $arr['httponly'] : true)
);
+
+ register_shutdown_function('session_write_close');
+
}
function start() {