# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/imgToolbox.class.php +++ administrator/components/com_comprofiler/imgToolbox.class.php @@ -314,7 +314,7 @@ 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 );