Moving the old code aside into the archive as i begin a new
[glcas.git] / archive / v1 / lib / plugins / install.php
diff --git a/archive/v1/lib/plugins/install.php b/archive/v1/lib/plugins/install.php
new file mode 100644 (file)
index 0000000..865d1e9
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+if(isset($agentInstall)) {
+       if($agentInstall) goAgentInstall();
+}
+
+/*
+if(!isset($dataSource)) {
+       goWebInstall();
+}
+
+if(!tryDataStore()) {
+       goWebInstall();
+}
+
+function goWebInstall()
+{
+       echo "<html>install";
+       echo "<pre>";
+       echo "servers\n";
+       print_r($_SERVER);
+       echo "request\n";
+       print_r($_REQUEST);
+       echo "</pre>";
+       echo "</html>";
+       exit(0);
+}
+
+*/
+?>
\ No newline at end of file