install
[ class tree: install ] [ index: install ] [ all elements ]

Source for file install_datapump.php

Documentation is available at install_datapump.php

  1. <?php
  2. /**
  3.  * @version $Header: /cvsroot/bitweaver/_bit_install/install_datapump.php,v 1.3 2007/01/17 00:41:11 hiranchaudhuri Exp $
  4.  * @package install
  5.  * @subpackage functions
  6.  */
  7.  
  8. // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
  9. // All Rights Reserved. See copyright.txt for details and a complete list of authors.
  10. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
  11.  
  12. // assign next step in installation process
  13.  
  14. $gBitSmarty->assign'next_step',$step );
  15.  
  16. $pumpList false;
  17. foreacharray_keys$gBitSystem->mPackages as $package {
  18.     if$gBitInstaller->isPackageActive$package ) ) {
  19.         iffile_exists'pump_'.$package.'_inc.php' ) ) {
  20.             $pumpList[$package;
  21.         }
  22.     }
  23. }
  24. $gBitSmarty->assign'pumpList',$pumpList );
  25.  
  26. /**
  27.  * datapump setup
  28.  */
  29. ifisset$_REQUEST['fSubmitDataPump') ) {
  30.     foreach$pumpList as $pump {
  31.         include_once'pump_'.$pump.'_inc.php' );
  32.     }
  33.     $gBitSmarty->assign'pumpedData',$pumpedData );
  34.     $app '_done';
  35.     $gBitSmarty->assign'next_step',$step );
  36.  
  37.     if$gBitSystem->isPackageActive'wiki' ) ) {
  38.         $gBitSystem->storeConfig'wiki_home_page'$pumpedData['Wiki'][0]WIKI_PKG_NAME );
  39.     }
  40. elseifisset$_REQUEST['skip') ) {
  41.     $app '_done';
  42.     $goto $step 1;
  43.     $gBitSmarty->assign'next_step',$goto );
  44.     header"Location: ".INSTALL_PKG_URL."install.php?step=$goto);
  45. }
  46. ?>

Documentation generated on Thu, 15 Feb 2007 20:41:29 +0000 by phpDocumentor 1.3.0