That's in administrator/components/com_comprofiler/imgToolbox.class.php
and normally exec isn't called, if disabled, and even if called with the @ it shouldn't stop, but you can comment it to be extra sure...
[code:1]<?php
function cbIsExecDisabled() {
return $this->cbIsFunctionDisabled( 'exec' );
}
//END OF CB_FIXES.
function testIM(){
if($this->cbIsExecDisabled()){ //CB_FIXES:
return false; // exec() is disabled, so give up
}
@exec('convert -version', $output, $status);
if(!$status){
if(preg_match("/imagemagick[ \t]+([0-9\.]+)/i",$output[0],$matches))
return $matches[0];
}
unset($output, $status);
}
[/code:1]