Changeset 6110 for trunk/upgrade.php
- Timestamp:
- May 8, 2010, 1:08:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upgrade.php
r5982 r6110 37 37 } 38 38 39 include_once(PHPWG_ROOT_PATH.'include/functions.inc.php');40 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');41 42 39 include(PHPWG_ROOT_PATH.'local/config/database.inc.php'); 43 40 include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); … … 49 46 define('PREFIX_TABLE', $prefixeTable); 50 47 define('UPGRADES_PATH', PHPWG_ROOT_PATH.'install/db'); 48 49 include_once(PHPWG_ROOT_PATH.'include/functions.inc.php'); 50 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 51 51 52 52 // +-----------------------------------------------------------------------+ … … 280 280 $mysql_changes = array(); 281 281 282 if (isset($_POST['username']) and isset($_POST['password'])) 283 { 284 check_upgrade_access_rights($current_release, $_POST['username'], $_POST['password']); 285 } 286 287 if (isset($_POST['submit']) and check_upgrade()) 282 check_upgrade_access_rights(); 283 284 if ((isset($_POST['submit']) or isset($_GET['now'])) 285 and check_upgrade()) 288 286 { 289 287 $upgrade_file = PHPWG_ROOT_PATH.'install/upgrade_'.$current_release.'.php';
Note: See TracChangeset
for help on using the changeset viewer.