Project

General

Profile

Bug #3321 » 3321.patch

krileon, 06 March 2012 16:56

View differences:

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 );
(1-1/2)