<?php
-
+if(!file_exists("../var/data/config.php")) {
+ // i am unconfigured
+} else {
+ require_once("../var/data/config.php");
+}
?>
\ No newline at end of file
--- /dev/null
+<?php
+
+?>
\ No newline at end of file
--- /dev/null
+<?php
+?>
\ No newline at end of file
--- /dev/null
+<?php
+
+?>
\ No newline at end of file
<?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
--- /dev/null
+<?php
+
+?>
\ No newline at end of file
+<?php
+
+require_once("../lib/lib.php");
+
+?>
<html>
<pre>
<?php