Subversion Repositories computer_asset_manager_v2

Rev

Rev 75 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
45 rodolico 1
<?php
46 rodolico 2
include_once (dirname(__FILE__) . '/../include/functions.php');
3
global $configuration;
4
$configStuff   = loadConfig();
5
$configuration = $configStuff['configuration'];
6
$configPath    = $configStuff['path'];
75 rodolico 7
$error = $configStuff['error'];
8
 
46 rodolico 9
unset($configStuff);
10
 
45 rodolico 11
?>
12
<html>
13
   <head>
14
   </head>
15
   <body>
16
      <div class='install'>
17
         <h1>CAMP Installer</h1>
75 rodolico 18
         <p>Configuration <?php print ($configuration ? ' loaded from ' . $configPath : " not loaded with errors<br />\n" . $error )  ?></p>
45 rodolico 19
         <ul>
46 rodolico 20
            <li>
21
               <a href='configuration_builder.php'>
22
                  <?php print $configuration ? "Edit" : "Build"; ?> 
23
                  Configuration
24
               </a>
25
            </li>
26
            <li>
27
               <?php
28
                  print $configuration ? 
29
                     "<a href='database_builder.php'>Initialize Database</a>" : 
30
                     "Initialize Database";
31
               ?>
32
            </li>
45 rodolico 33
            <li><a href='../index.php'>Log In</a></li>
34
         </ul>
35
      </div>
36
   </body>
37
</html>