Please Log in to join the conversation.
Please Log in to join the conversation.
imgToolbox.class.php line 628 holding[code:1]
return in_array( 'exec', explode( ',',ini_get( 'disable_functions' ) ) );[/code:1]change into[code:1] return in_array( 'exec', explode( ', ',ini_get( 'disable_functions' ) ) );
[/code:1]Note the extra space behind the comma. This will cause that the exec function is found and no warning is displayed.
Please Log in to join the conversation.
The code is tested and is of course OK.
Thanks for noticing, fixed in next release with following code:
[code:1] function cbIsExecDisabled(){
if (is_callable("ini_get")) {
$funcs = explode( ',',ini_get( 'disable_functions' ) );
for ( $i=0, $n=count($funcs); $i<$n; $i++ ) {
$funcs[$i] = trim($funcs[$i]);
}
return in_array( 'exec', $funcs );
} else {
return false;
}
}
[/code:1]
Can you please test final fix and report back if ok at your site ?
Thanks
Please Log in to join the conversation.