Changeset 269 for dev/install

Show
Ignore:
Timestamp:
12/06/07 13:52:28 (13 years ago)
Author:
exi
Message:

Fixed the upgrader refering back to the install routinge.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/install/install_step40.php

    r267 r269  
    33include('../common/includes/php_compat.php'); 
    44include('../common/includes/class.xml.php'); 
    5 include('../config.php'); 
     5require('../config.php'); 
    66include('../common/includes/class.db.php'); 
    7  
    87 
    98echo 'Reading packages...'; 
     
    165164                { 
    166165                    echo 'Finished importing of this file.<br/>'; 
    167                     echo '<meta http-equiv="refresh" content="1; URL=?step=4&sub=data" />'; 
    168                     echo 'Automatic reload in 1s for next chunk. <a href="?step=4&sub=data">Manual Link</a><br/>'; 
     166                    echo '<meta http-equiv="refresh" content="1; URL=?step=40&sub=data" />'; 
     167                    echo 'Automatic reload in 1s for next chunk. <a href="?step=40&sub=data">Manual Link</a><br/>'; 
    169168                } 
    170169                else 
    171170                { 
    172171                    echo $error; 
    173                     echo '<meta http-equiv="refresh" content="20; URL=?step=4&sub=data" />'; 
     172                    echo '<meta http-equiv="refresh" content="20; URL=?step=40&sub=data" />'; 
    174173                    echo 'Automatic reload in 20s for next chunk because of the error occured. <a href="?step=4&sub=data">Manual Link</a><br/>'; 
    175174                } 
     
    245244                } 
    246245                $_SESSION['sqlinsert']++; 
    247                 echo '<meta http-equiv="refresh" content="1; URL=?step=4&sub=data" />'; 
    248                 echo 'Automatic reload in 1s for next chunk. <a href="?step=4&sub=data">Manual Reload</a><br/>'; 
     246                echo '<meta http-equiv="refresh" content="1; URL=?step=40&sub=data" />'; 
     247                echo 'Automatic reload in 1s for next chunk. <a href="?step=40&sub=data">Manual Reload</a><br/>'; 
    249248                $did = true; 
    250249                break 2; 
     
    277276        if ($stoppage) 
    278277        { 
    279             echo 'There has been an error with one of the tables, please <a href="?step=4&do=reset">Reset</a> and try again.<br/>'; 
     278            echo 'There has been an error with one of the tables, please <a href="?step=40&do=reset">Reset</a> and try again.<br/>'; 
    280279        } 
    281280        else 
    282281        { 
    283282            echo '<br/>All tables passed.<br/>'; 
    284             echo 'You can now create or search your corporation/alliance: <a href="?step=5">Next Step</a><br/>'; 
    285         } 
    286     } 
    287     echo '<br/>Use <a href="?step=4&sub=datasel&do=reset">Reset</a> to step back to the sql-opt select.<br/>'; 
     283            echo 'You can now create or search your corporation/alliance: <a href="?step=41">Next Step</a><br/>'; 
     284        } 
     285    } 
     286    echo '<br/>Use <a href="?step=40&sub=datasel&do=reset">Reset</a> to step back to the sql-opt select.<br/>'; 
    288287} 
    289288?> 
     
    303302#    echo 'I will now check some table structures in case you are upgrading from a previous version... '; 
    304303#    include('install_step4_tblchk.php'); 
    305     echo 'Please continue with <a href="?step=4&sub=datasel">Importing Data</a><br/>'; 
    306  
    307     echo '<br/><br/>In case you aborted the install and you got already data in those table you can bypass the import now by with <a href="?step=5">this link</a><br/>'; 
     304    echo 'Please continue with <a href="?step=40&sub=datasel">Importing Data</a><br/>'; 
     305 
     306    echo '<br/><br/>In case you aborted the install and you got already data in those table you can bypass the import now by with <a href="?step=41">this link</a><br/>'; 
    308307    echo 'To be sure i will check some table data for you now:<br/>'; 
    309308    foreach ($kb['kb3']['table'] as $line) 
     
    337336elseif ($structadd) 
    338337{ 
    339     echo 'Some table structures have to be added, please continue with <a href="?step=4&sub=struct">Creating Tables</a><br/>'; 
     338    echo 'Some table structures have to be added, please continue with <a href="?step=40&sub=struct">Creating Tables</a><br/>'; 
    340339} 
    341340 
     
    344343?> 
    345344<p>Please select optional SQL data to be inserted into the database:<br/></p> 
    346 <form id="options" name="options" method="post" action="?step=4"> 
     345<form id="options" name="options" method="post" action="?step=40"> 
    347346<input type="hidden" name="step" value="4"> 
    348347<input type="hidden" name="sub" value="data">