aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/index.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 18:35:03 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 18:35:03 +0000
commit116ff3ae92e54c1de9b30344e0417fb87d08175d (patch)
tree789c86df03046eda119fffcc967656721a6a3162 /mod/diagnostics/index.php
parentc71cfb0a82b4e2d0a1395ba9d3d96b4f9d6a1ebd (diff)
downloadelgg-116ff3ae92e54c1de9b30344e0417fb87d08175d.tar.gz
elgg-116ff3ae92e54c1de9b30344e0417fb87d08175d.tar.bz2
Closes #232: Produces a basic report plus checksums of all files in md5sum format.
To add extra information to this report add a plugin hook listening to: 'diagnostics:report' And append to $returnvalue which is a simple text buffer. git-svn-id: https://code.elgg.org/elgg/trunk@1863 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics/index.php')
-rw-r--r--mod/diagnostics/index.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php
new file mode 100644
index 000000000..37581a3d9
--- /dev/null
+++ b/mod/diagnostics/index.php
@@ -0,0 +1,26 @@
+<?php
+ /**
+ * Elgg diagnostics
+ *
+ * @package ElggDiagnostics
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ admin_gatekeeper();
+ set_context('admin');
+
+ $title = elgg_view_title(elgg_echo('diagnostics'));
+
+ $body .= elgg_echo('diagnostics:description');
+
+ $body .= elgg_view('diagnostics/forms/download');
+
+
+
+ page_draw(elgg_echo('diagnostics'),elgg_view_layout("two_column_left_sidebar", '', $title . $body));
+?> \ No newline at end of file