Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_official / html [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
04 Aug 2002 04:35:25postnuke_official/htmlinstall.php,1.106,1.107Paul Rosania
 phase fixes

Update of /home/cvsroot/postnuke_official/html
In directory ns7.hostnuke.net:/tmp/cvs-serv24369

Modified Files:
	install.php 
Log Message:
phase fixes


Index: install.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/install.php,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** install.php	4 Aug 2002 02:38:58 -0000	1.106
--- install.php	4 Aug 2002 04:35:23 -0000	1.107
***************
*** 47,65 ****
  // ---call optional components' init funcs, disable non-reusable areas of install module
  // 7. finished!
! define ('_PNINSTALLPHASE_LANGUAGE_SELECT',     '1');
! define ('_PNINSTALLPHASE_LICENSE_AGREEMENT',   '2');
! define ('_PNINSTALLPHASE_PERMISSIONS_CHECK',   '3');
! define ('_PNINSTALLPHASE_SETTINGS_COLLECTION', '4');
! define ('_PNINSTALLPHASE_ADMIN_CREATION',      '5');
! define ('_PNINSTALLPHASE_PLUGIN_INSTALL',      '6');
! define ('_PNINSTALLPHASE_FINISHED',            '7');
  
! function pnInstall($phase = _PNINSTALLPHASE_LANGUAGE_SELECT)
  {
      // Need to initialize the ML system
      pnMLInit();
  
      // Load the installer module, the hard way - file check too
!     $installer_admin_file = 'modules/installer/pnadmin.php';
  
      if (file_exists($installer_admin_file)) {
--- 47,71 ----
  // ---call optional components' init funcs, disable non-reusable areas of install module
  // 7. finished!
! define ('_PNINSTALLPHASE_WELCOME',             '1');
! define ('_PNINSTALLPHASE_LANGUAGE_SELECT',     '2');
! define ('_PNINSTALLPHASE_LICENSE_AGREEMENT',   '3');
! define ('_PNINSTALLPHASE_PERMISSIONS_CHECK',   '4');
! define ('_PNINSTALLPHASE_SETTINGS_COLLECTION', '5');
! define ('_PNINSTALLPHASE_ADMIN_CREATION',      '6');
! define ('_PNINSTALLPHASE_PLUGIN_INSTALL',      '7');
! define ('_PNINSTALLPHASE_FINISHED',            '8');
  
! function pnInstall($phase = _PNINSTALLPHASE_WELCOME)
  {
+     // Make sure we should still be here
+     if ($phase >= _PNINSTALLPHASE_ADMIN_CREATION) {
+         pnRedirect('index.php?module=installer&type=admin&func=bootstrap');
+     }
+ 
      // Need to initialize the ML system
      pnMLInit();
  
      // Load the installer module, the hard way - file check too
!     $installer_admin_file = 'modules/installer/pnadminapi.php';
  
      if (file_exists($installer_admin_file)) {


Directory filter : [ all ] / postnuke_official / html [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3