--- a/install/includes/libenanoinstall.php Sat Jul 12 00:07:23 2008 -0400
+++ b/install/includes/libenanoinstall.php Sat Jul 12 00:07:53 2008 -0400
@@ -92,6 +92,7 @@
close_install_table();
$post_data = '';
$mysql_error = mysql_error();
+ $file = ( defined('IN_ENANO_UPGRADE') ) ? 'upgrade.php' : 'install.php';
foreach ( $_POST as $key => $value )
{
// FIXME: These should really also be sanitized for double quotes
@@ -102,7 +103,7 @@
if ( $stage_id == 'renameconfig' )
echo '<p>' . $failure_explanation . '</p>';
else
- echo '<form action="install.php?stage=install&sub=' . $stage_id . '" method="post">
+ echo '<form action="' . $file . '?stage=install&sub=' . $stage_id . '" method="post">
' . $post_data . '
<input type="hidden" name="resume_stack" value="' . htmlspecialchars(implode('|', $resume_stack)) . '" />
<h3>' . $lang->get('meta_msg_err_stagefailed_title') . '</h3>