aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/statistics/index.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/admin/statistics/index.php b/admin/statistics/index.php
new file mode 100644
index 000000000..cea6526df
--- /dev/null
+++ b/admin/statistics/index.php
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Elgg administration statistics index
+ * This is a special page that displays a number of statistics
+ *
+ * @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:statistics"),elgg_view("admin/statistics"));
+
+?>