aboutsummaryrefslogtreecommitdiff
path: root/system.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-05-16 15:59:35 +0000
committerCash Costello <cash.costello@gmail.com>2009-05-16 15:59:35 +0000
commitdd3fcae605c590c76ebfc5584a9a5e33c7fe2a40 (patch)
tree2687277d3e6fe259a8e5a8be7c0cf3a83001610e /system.php
parentb624f3bd6e4ddefa08ab9bd002d4504136fa8a4f (diff)
downloadelgg-dd3fcae605c590c76ebfc5584a9a5e33c7fe2a40.tar.gz
elgg-dd3fcae605c590c76ebfc5584a9a5e33c7fe2a40.tar.bz2
added screen for viewing server setup to advise on configuring server for better Tidypics performance
Diffstat (limited to 'system.php')
-rw-r--r--system.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/system.php b/system.php
new file mode 100644
index 000000000..d9abcd2e5
--- /dev/null
+++ b/system.php
@@ -0,0 +1,42 @@
+<?php
+
+/********************************************************************
+ *
+ * Tidypics System Analysis Script
+ *
+ * Helps admins configure their server
+ *
+ ********************************************************************/
+
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ admin_gatekeeper();
+
+ set_context('admin');
+
+ $title = 'TidyPics Server Analysis';
+
+/*
+$php_ok = (function_exists('version_compare') && version_compare(phpversion(), '4.3.0', '>='));
+$xml_ok = extension_loaded('xml');
+$pcre_ok = extension_loaded('pcre');
+$curl_ok = function_exists('curl_exec');
+$zlib_ok = extension_loaded('zlib');
+$mbstring_ok = extension_loaded('mbstring');
+$iconv_ok = extension_loaded('iconv');
+*/
+ ob_start();
+
+ echo elgg_view_title($title);
+?>
+<div class="contentWrapper">
+
+</div>
+<?php
+
+ $content = ob_get_clean();
+
+ $body = elgg_view_layout('two_column_left_sidebar', '', $content);
+
+ echo page_draw($title, $body);
+?> \ No newline at end of file