some minor additions
[glcas.git] / lib / plugins / install.php
1 <?php
2 if(isset($agentInstall)) {
3         if($agentInstall) goAgentInstall();
4 }
5
6 if(!isset($dataSource)) {
7         goWebInstall();
8 }
9
10 if(!tryDataStore()) {
11         goWebInstall();
12 }
13
14 function goWebInstall()
15 {
16         echo "<html>install";
17         echo "<pre>";
18         echo "globals\n";
19         print_r($_GLOBALS);
20         echo "servers\n";
21         print_r($_SERVER);
22         echo "request\n";
23         print_r($_REQUEST);
24         echo "</pre>";
25         echo "</html>";
26         exit(0);
27 }
28
29 ?>