Subversion Repositories computer_asset_manager_v2

Rev

Rev 46 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<?php
include_once (dirname(__FILE__) . '/../include/functions.php');
global $configuration;
$configStuff   = loadConfig();
$configuration = $configStuff['configuration'];
$configPath    = $configStuff['path'];
$error = $configStuff['error'];

unset($configStuff);

?>
<html>
   <head>
   </head>
   <body>
      <div class='install'>
         <h1>CAMP Installer</h1>
         <p>Configuration <?php print ($configuration ? ' loaded from ' . $configPath : " not loaded with errors<br />\n" . $error )  ?></p>
         <ul>
            <li>
               <a href='configuration_builder.php'>
                  <?php print $configuration ? "Edit" : "Build"; ?> 
                  Configuration
               </a>
            </li>
            <li>
               <?php
                  print $configuration ? 
                     "<a href='database_builder.php'>Initialize Database</a>" : 
                     "Initialize Database";
               ?>
            </li>
            <li><a href='../index.php'>Log In</a></li>
         </ul>
      </div>
   </body>
</html>