aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index a6ed3dbc6..025d84063 100755
--- a/index.php
+++ b/index.php
@@ -62,7 +62,7 @@ if(! App::$install) {
load_config('system');
load_config('feature');
- require_once('include/session.php');
+ \Zotlabs\Web\Session::init();
load_hooks();
call_hooks('init_1');
@@ -84,7 +84,7 @@ if(! App::$install) {
*
*/
-session_start();
+\Zotlabs\Web\Session::start();
/**
* Language was set earlier, but we can over-ride it in the session.
@@ -190,5 +190,4 @@ call_hooks('page_end', App::$page['content']);
construct_page($a);
-session_write_close();
exit;