diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-08-15 21:49:29 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-08-15 21:49:29 -0700 |
commit | 35e29e10e69dfb086e990d852aa6b5006ce31d1b (patch) | |
tree | 75ba2b51a5171b90a40a8af33b11a38835cc9e21 /index.php | |
parent | 7294a3aab110b6e740c70dc3ea086c7aa4d4dd13 (diff) | |
download | volse-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.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; |