aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-15 21:49:29 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-15 21:49:29 -0700
commit35e29e10e69dfb086e990d852aa6b5006ce31d1b (patch)
tree75ba2b51a5171b90a40a8af33b11a38835cc9e21 /index.php
parent7294a3aab110b6e740c70dc3ea086c7aa4d4dd13 (diff)
downloadvolse-hubzilla-35e29e10e69dfb086e990d852aa6b5006ce31d1b.tar.gz
volse-hubzilla-35e29e10e69dfb086e990d852aa6b5006ce31d1b.tar.bz2
volse-hubzilla-35e29e10e69dfb086e990d852aa6b5006ce31d1b.zip
installer changes, pe sync
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/index.php b/index.php
index 96e8583d6..52ea58374 100644
--- a/index.php
+++ b/index.php
@@ -15,7 +15,9 @@ require_once("dba.php");
$db = new dba($db_host, $db_user, $db_pass, $db_data, $install);
unset($db_host, $db_user, $db_pass, $db_data);
-require_once("session.php");
+if(! $install)
+ require_once("session.php");
+
require_once("datetime.php");
date_default_timezone_set(($default_timezone) ? $default_timezone : 'UTC');
@@ -101,7 +103,8 @@ $a->page['content'] .= $debug_text;
// build page
// Navigation (menu) template
-require_once("nav.php");
+if($a->module != 'install')
+ require_once("nav.php");
$page = $a->page;
$profile = $a->profile;