started a flow diagram
[glcas.git] / lib / plugins / install.php
index 0abf40c..4d45c99 100644 (file)
@@ -1,11 +1,20 @@
 <?php
+if(isset($agentInstall)) {
+       if($agentInstall) goAgentInstall();
+}
 
 if(!isset($dataSource)) {
-       goInstall();
+       goWebInstall();
 }
 
 if(!tryDataStore()) {
-       goInstall();
+       goWebInstall();
+}
+
+function goWebInstall()
+{
+       echo "<html>install</html>";
+       exit(0);
 }
 
 ?>
\ No newline at end of file