From d19606b96ba0f5ed56e9e736b8fe88210528577c Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 11 Jul 2009 00:58:19 +0000 Subject: I will probably regret this - opening up imagemagick command line to all --- system.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'system.php') 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,10 +61,15 @@ Elgg requires the GD extension to be loaded - ImageMagick + ImageMagick PHP + + exec() + + Required for ImageMagick command line + Memory Available to PHP B -- cgit v1.2.3