aboutsummaryrefslogtreecommitdiff
path: root/system.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-07-11 00:58:19 +0000
committerCash Costello <cash.costello@gmail.com>2009-07-11 00:58:19 +0000
commitd19606b96ba0f5ed56e9e736b8fe88210528577c (patch)
treed8148ae40b56350cf23a74a503b2d759bd32d41d /system.php
parentef40f4101aa5653a6697a273806ed4d4537bc91e (diff)
downloadelgg-d19606b96ba0f5ed56e9e736b8fe88210528577c.tar.gz
elgg-d19606b96ba0f5ed56e9e736b8fe88210528577c.tar.bz2
I will probably regret this - opening up imagemagick command line to all
Diffstat (limited to 'system.php')
-rw-r--r--system.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/system.php b/system.php
index 833722db8..24295c715 100644
--- a/system.php
+++ b/system.php
@@ -39,6 +39,10 @@
return $size;
}
+ $disablefunc = explode(',', ini_get('disable_functions'));
+ $exec_avail = "Disabled";
+ if (is_callable('exec') && !in_array('exec',$disablefunc))
+ $exec_avail = "Enabled";
ob_start();
@@ -57,11 +61,16 @@
<td>Elgg requires the GD extension to be loaded</td>
</tr>
<tr>
- <td>ImageMagick</td>
+ <td>ImageMagick PHP</td>
<td><?php echo (extension_loaded('imagick')) ? 'Enabled' : 'Disabled'; ?></td>
<td></td>
</tr>
<tr>
+ <td>exec()</td>
+ <td><?php echo $exec_avail; ?></td>
+ <td>Required for ImageMagick command line</td>
+ </tr>
+ <tr>
<td>Memory Available to PHP</td>
<td><?php echo ini_get('memory_limit'); ?>B</td>
<td>Change memory_limit to increase</td>