started a flow diagram
[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</html>";
17         exit(0);
18 }
19
20 ?>