diff options
| author | Jams H Thompson <jht001@users.sourceforge.net> | 2006-07-23 00:56:06 +0000 |
|---|---|---|
| committer | Jams H Thompson <jht001@users.sourceforge.net> | 2006-07-23 00:56:06 +0000 |
| commit | 007538e7a7e3956d565b255369ce2cdf0d3a9fc7 (patch) | |
| tree | 602a430836a779e33ef8d9c6b9d3b45499378c60 /index.php | |
| parent | 1aefa3d2fd6bda330c9eed7f1626ba60a80062b1 (diff) | |
| download | wiki-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.php | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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'] ) ) { |
