aboutsummaryrefslogtreecommitdiff
path: root/mod/walledgarden/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/walledgarden/index.php')
-rw-r--r--mod/walledgarden/index.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/mod/walledgarden/index.php b/mod/walledgarden/index.php
new file mode 100644
index 000000000..ca822d78a
--- /dev/null
+++ b/mod/walledgarden/index.php
@@ -0,0 +1,24 @@
+<?php
+
+ /**
+ * Elgg custom index
+ *
+ * @package ElggCustomIndex
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd <info@elgg.com>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ // Get the Elgg engine
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ //grab the login form
+ $login = elgg_view("account/forms/login");
+
+ //display the contents in our new canvas layout
+ $body = elgg_view_layout('new_index',$login);
+
+ page_draw($title, $body);
+
+?> \ No newline at end of file