summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorJams H Thompson <jht001@users.sourceforge.net>2006-07-23 00:56:06 +0000
committerJams H Thompson <jht001@users.sourceforge.net>2006-07-23 00:56:06 +0000
commit007538e7a7e3956d565b255369ce2cdf0d3a9fc7 (patch)
tree602a430836a779e33ef8d9c6b9d3b45499378c60 /index.php
parent1aefa3d2fd6bda330c9eed7f1626ba60a80062b1 (diff)
downloadwiki-007538e7a7e3956d565b255369ce2cdf0d3a9fc7.tar.gz
wiki-007538e7a7e3956d565b255369ce2cdf0d3a9fc7.tar.bz2
wiki-007538e7a7e3956d565b255369ce2cdf0d3a9fc7.zip
improve package management and performance, eliminate some package related install errors
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/index.php b/index.php
index d7fb003..2b423a9 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/index.php,v 1.7 2006/03/01 20:16:36 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/index.php,v 1.8 2006/07/23 00:56:06 jht001 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.7 2006/03/01 20:16:36 spiderr Exp $
+ * $Id: index.php,v 1.8 2006/07/23 00:56:06 jht001 Exp $
* @package wiki
* @subpackage functions
*/
@@ -17,6 +17,13 @@
* required setup
*/
require_once( '../bit_setup_inc.php' );
+
+if (!defined('WIKI_PKG_PATH')) {
+ // need a module not active error message here and an exit
+ // need to make better than this:
+ echo "Wiki Module is not Active";
+ exit;
+ }
require_once( WIKI_PKG_PATH.'BitPage.php' );
if( !empty( $_REQUEST['structure_id'] ) ) {