Bug #3321 » 3321.patch
administrator/components/com_comprofiler/imgToolbox.class.php | ||
---|---|---|
return true;
|
||
}
|
||
function _escapeshellcmd( $command ) {
|
||
if ( substr( PHP_OS, 0, 3 ) == 'WIN' ) {
|
||
if ( ( substr( PHP_OS, 0, 3 ) == 'WIN' ) || $this->cbIsFunctionDisabled( 'escapeshellcmd' ) ) {
|
||
return $command;
|
||
} else {
|
||
return escapeshellcmd( $command );
|