summaryrefslogtreecommitdiff
path: root/install_packages.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-02-01 14:58:41 +0000
committerChristian Fowler <spider@viovio.com>2006-02-01 14:58:41 +0000
commitf12835dfadda04f381ea72c658ed8435c4462463 (patch)
treeffec31076f8f1f40ac85c83569b0f6cdc596ddf2 /install_packages.php
parent01715ffc11ce5355e33f405cb6381317abfc8c7b (diff)
downloadinstall-f12835dfadda04f381ea72c658ed8435c4462463.tar.gz
install-f12835dfadda04f381ea72c658ed8435c4462463.tar.bz2
install-f12835dfadda04f381ea72c658ed8435c4462463.zip
check for WIKI constant before using - compatibility with bitweavercore install
Diffstat (limited to 'install_packages.php')
-rw-r--r--install_packages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install_packages.php b/install_packages.php
index be299a1..7674239 100644
--- a/install_packages.php
+++ b/install_packages.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.18 2006/02/01 09:20:12 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.19 2006/02/01 14:58:41 spiderr Exp $
* @package install
* @subpackage functions
*/
@@ -147,7 +147,7 @@ if( !empty( $_REQUEST['cancel'] ) ) {
if( $method == 'install' || $method == 'reinstall' ) {
$gBitInstaller->storePreference( 'package_'.strtolower( $package ), 'y', $package );
// we'll default wiki to the home page
- if( $package == WIKI_PKG_NAME ) {
+ if( defined( 'WIKI_PKG_NAME' ) || $package == WIKI_PKG_NAME ) {
$gBitSystem->storePreference( "bitIndex", WIKI_PKG_NAME );
}
} elseif( $method == 'uninstall' ) {