summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-05 17:39:37 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-05 17:39:37 +0000
commit1d8d36984ba7974b11c4a75c29046b746a3ee6d0 (patch)
tree6d64b6bf527f10360f3a965458f9dfd945094401 /index.php
parent9f3cb07ad3776f9a8449cf13d88ad2c4f7674b58 (diff)
downloadwiki-1d8d36984ba7974b11c4a75c29046b746a3ee6d0.tar.gz
wiki-1d8d36984ba7974b11c4a75c29046b746a3ee6d0.tar.bz2
wiki-1d8d36984ba7974b11c4a75c29046b746a3ee6d0.zip
whitespace rearrangement
Diffstat (limited to 'index.php')
-rw-r--r--index.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/index.php b/index.php
index eb7b2ae..c5f2f1c 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/index.php,v 1.4 2006/02/04 10:32:44 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/index.php,v 1.5 2006/02/05 17:39:37 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: index.php,v 1.4 2006/02/04 10:32:44 squareing Exp $
+ * $Id: index.php,v 1.5 2006/02/05 17:39:37 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -28,10 +28,11 @@ require_once( WIKI_PKG_PATH.'BitPage.php' );
$gHome = new BitPage();
$wikiHome = $gBitSystem->getPreference("wikiHomePage", 'HomePage');
if( !($gHome->pageExists( $wikiHome )) ) {
- $homeHash = array( 'title' => (isset( $wikiHome ) ? $wikiHome : 'HomePage'),
- 'creator_user_id' => ROOT_USER_ID,
- 'modifier_user_id' => ROOT_USER_ID,
- 'edit' => 'Welcome to '.( $gBitSystem->getPreference( 'siteTitle', 'our site' ) ) );
+ $homeHash = array(
+ 'title' => (isset( $wikiHome ) ? $wikiHome : 'HomePage'),
+ 'creator_user_id' => ROOT_USER_ID,
+ 'modifier_user_id' => ROOT_USER_ID,
+ 'edit' => 'Welcome to '.( $gBitSystem->getPreference( 'siteTitle', 'our site' ) ) );
$gHome->store( $homeHash );
}