diff options
| author | Christian Fowler <spider@viovio.com> | 2006-03-01 20:16:12 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-03-01 20:16:12 +0000 |
| commit | 1ccba2285cb2b6e28d44c39a6891aece0d132c07 (patch) | |
| tree | 77648088bff01ff5c16bde59e89650d39e5a822c /install_packages.php | |
| parent | 27b26b71cf2f4c9871fdcf200165b29e0ac1353d (diff) | |
| download | install-1ccba2285cb2b6e28d44c39a6891aece0d132c07.tar.gz install-1ccba2285cb2b6e28d44c39a6891aece0d132c07.tar.bz2 install-1ccba2285cb2b6e28d44c39a6891aece0d132c07.zip | |
move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences
Diffstat (limited to 'install_packages.php')
| -rw-r--r-- | install_packages.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install_packages.php b/install_packages.php index 1bb0ef8..d815105 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.33 2006/03/01 18:35:12 spiderr Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.34 2006/03/01 20:16:12 spiderr Exp $ * @package install * @subpackage functions */ @@ -154,10 +154,10 @@ if( !empty( $_REQUEST['cancel'] ) ) { foreach( array_keys( $gBitInstaller->mPackages ) as $package ) { if( in_array( $package, $_REQUEST['packages'] ) ) { if( $method == 'install' || $method == 'reinstall' ) { - $gBitInstaller->storePreference( 'package_'.strtolower( $package ), 'y', $package ); + $gBitSystem->storeConfig( 'package_'.strtolower( $package ), 'y', $package ); // we'll default wiki to the home page if( defined( 'WIKI_PKG_NAME' ) && $package == WIKI_PKG_NAME ) { - $gBitSystem->storePreference( "bit_index", WIKI_PKG_NAME, WIKI_PKG_NAME ); + $gBitSystem->storeConfig( "bit_index", WIKI_PKG_NAME, WIKI_PKG_NAME ); } } elseif( $method == 'uninstall' ) { // TODO: allow option to remove related content from liberty_content and liberty_structures @@ -181,7 +181,7 @@ if( !empty( $_REQUEST['cancel'] ) ) { // and let's turn on phpBB so people can find it easily. if( defined( 'PHPBB_PKG_NAME' ) ) { - $gBitInstaller->storePreference( 'package_phpbb', 'y', PHPBB_PKG_NAME ); + $gBitSystem->storeConfig( 'package_phpbb', 'y', PHPBB_PKG_NAME ); } // 4. run the defaults through afterwards so we can be sure all tables needed have been created |
