aboutsummaryrefslogtreecommitdiff
path: root/admin/site
diff options
context:
space:
mode:
Diffstat (limited to 'admin/site')
-rw-r--r--admin/site/index.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/admin/site/index.php b/admin/site/index.php
new file mode 100644
index 000000000..15224b3b8
--- /dev/null
+++ b/admin/site/index.php
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Elgg administration site system index
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ admin_gatekeeper();
+
+ // Display main admin menu
+ page_draw(elgg_echo("admin:site"),elgg_view("admin/site"));
+
+?> \ No newline at end of file