summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2010-01-06 20:37:59 +0000
committerMax Kremmel <xing@synapse.plus.com>2010-01-06 20:37:59 +0000
commit1dd9821017a3818b642b38fab4e538c931682738 (patch)
tree68c766a58d8c80535ef708040690426f8b9e5f51 /index.php
parentddb1565ce6548d8b8f04a0e1b67279196ae65cfa (diff)
downloadwiki-1dd9821017a3818b642b38fab4e538c931682738.tar.gz
wiki-1dd9821017a3818b642b38fab4e538c931682738.tar.bz2
wiki-1dd9821017a3818b642b38fab4e538c931682738.zip
fix check for home disabled settingpre_deprecate_bit_setup_incPRE_BIT_SETUP_CHANGE
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index dce305f..a7a58e3 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/index.php,v 1.13 2009/10/01 14:17:07 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/index.php,v 1.14 2010/01/06 20:37:59 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See below for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
*
- * $Id: index.php,v 1.13 2009/10/01 14:17:07 wjames5 Exp $
+ * $Id: index.php,v 1.14 2010/01/06 20:37:59 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -26,8 +26,8 @@ if( !empty( $_REQUEST['structure_id'] ) ) {
} else {
// if no page set
if ( !isset( $_REQUEST['page'] ) and !isset( $_REQUEST['page_id'] ) ) {
- // if auto create home page disabled just get a list
- if( $gBitSystem->getConfig( 'wiki_disable_auto_home' ) ){
+ // if auto create home page disabled just get a list
+ if( $gBitSystem->isFeatureActive( 'wiki_disable_auto_home' ) ){
include( WIKI_PKG_PATH.'list_pages.php' );
die;
}