Exemple #1
0
			</div>
			<?php 
        } else {
            header("Location: index.php?step=2");
            // redirecting to step 2
        }
        break;
    case 5:
        // this is a upgrade - for now we just clean up after us when we upgrade
        if ($settingsActive) {
            //how to check for upgrade of 2.0 to 2.2 ?
            //does the loadavg core do this automatically for us ?
            //bneed to test
            //to upgrade 2.1 to 2.2 as thats all we can really upgrade from ?
            $loadavg->upgradeSettings21to22(false);
            ?>

			<h4>Upgrade Complete</h4>
			<div class="well">
				<b>The upgrade is now complete, you are now running LoadAvg Version <?php 
            echo SCRIPT_VERSION;
            ?>
</b>
				<br><br>
				Click continue to go on to LoadAvg

				<?php 
            //if ( isset($settings['settings']['version']))
            //	$settings['settings']['version'] = SCRIPT_VERSION;
            //var_dump($settings);