Changeset 24448
- Timestamp:
- 07/07/08 10:08:59 (6 months ago)
- Location:
- branches/zikula-1.0
- Files:
-
- 2 modified
-
includes/pnAPI.php (modified) (1 diff)
-
upgrade.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/zikula-1.0/includes/pnAPI.php
r24364 r24448 311 311 } 312 312 pnShutDown(); 313 } else { 314 return false; 313 315 } 314 316 } -
branches/zikula-1.0/upgrade.php
r24364 r24448 55 55 if ($action === 'regenerate' || $action === 'install' || $action === 'upgrademodules') { 56 56 include 'includes/pnAPI.php'; 57 pnInit(PN_CORE_ALL & ~PN_CORE_TOOLS & ~PN_CORE_DECODEURLS & ~PN_CORE_SESSIONS); 58 57 if (!pnInit(PN_CORE_ALL & ~PN_CORE_TOOLS & ~PN_CORE_DECODEURLS & ~PN_CORE_SESSIONS)) { 58 Loader::requireOnce('includes/templates/dbconnectionerror.htm'); 59 pnShutDown(); 60 } 61 59 62 $username = FormUtil::getPassedValue('username'); 60 63 $password = FormUtil::getPassedValue('password'); … … 137 140 $_SESSION['_PNUpgrader']['_PNUpgradeFrom76x'] = true; 138 141 include 'includes/pnAPI.php'; 139 pnInit(PN_CORE_ALL & ~PN_CORE_THEME & ~PN_CORE_AJAX & ~PN_CORE_SESSIONS & ~PN_CORE_TOOLS); 142 if (!pnInit(PN_CORE_ALL & ~PN_CORE_THEME & ~PN_CORE_AJAX & ~PN_CORE_SESSIONS & ~PN_CORE_TOOLS)) { 143 Loader::requireOnce('includes/templates/dbconnectionerror.htm'); 144 pnShutDown(); 145 } 140 146 141 147 _upg_header();
