aboutsummaryrefslogtreecommitdiff
path: root/admin/site/index.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 15:28:07 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 15:28:07 +0000
commit4f9f1db1ad4e524960a0b3544f06b94717fc3875 (patch)
treeaa213b9db76bc1f0295fffab1c6fc69ca2425431 /admin/site/index.php
parent33cfe143311844cbde22177e07e4f1742bb04e25 (diff)
downloadelgg-4f9f1db1ad4e524960a0b3544f06b94717fc3875.tar.gz
elgg-4f9f1db1ad4e524960a0b3544f06b94717fc3875.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Initial administration panel git-svn-id: https://code.elgg.org/elgg/trunk@867 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'admin/site/index.php')
-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