aboutsummaryrefslogtreecommitdiffstats
path: root/mod/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/install.php')
-rwxr-xr-xmod/install.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/install.php b/mod/install.php
index eff408964..d2560f8eb 100755
--- a/mod/install.php
+++ b/mod/install.php
@@ -388,7 +388,7 @@ function check_funcs(&$checks) {
$ck_funcs[0]['status']= false;
$ck_funcs[0]['help']= t('Error: libCURL PHP module required but not installed.');
}
-x if(! function_exists('imagecreatefromjpeg')){
+ if(! function_exists('imagecreatefromjpeg')){
$ck_funcs[1]['status']= false;
$ck_funcs[1]['help']= t('Error: GD graphics PHP module with JPEG support required but not installed.');
}
@@ -466,7 +466,6 @@ function load_database_rem($v, $i){
function load_database($db) {
$str = file_get_contents('database.sql');
-// $str = array_reduce(explode("\n", $str),"load_database_rem","");
$arr = explode(';',$str);
$errors = false;
foreach($arr as $a) {