summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..7d5b10c
--- /dev/null
+++ b/index.php
@@ -0,0 +1,14 @@
+<?php
+namespace mcoop;
+
+require_once("vendor/autoload.php");
+require_once("common/config.php");
+
+echo $twig->render("index.tmpl", array(
+ "danger_alerts" => array(),
+ "success_alerts" => array(),
+ "sess_info" => $sess_info,
+ "sitename" => $config->website_name
+));
+
+?>