summaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'test.php')
-rw-r--r--test.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/test.php b/test.php
index 73a4a0d8..6d6a9367 100644
--- a/test.php
+++ b/test.php
@@ -27,6 +27,19 @@
$todo = Array();
$body = '<table style="width:600px;margin:auto;">';
+ $extensions = Array('mysql', 'gd');
+
+ // Extensions
+ title('Extensions');
+ foreach($extensions as &$ext) {
+ if(extension_loaded($ext)) {
+ $body .= check($ext, 'ok');
+ } else {
+ $body .= check($ext, 'error');
+ $todo[] = 'Install module "' . $ext . '"';
+ }
+ }
+
// Database
title('Database');