return call_user_func_array( Shell::class . '::escape', $args );
}
-/**
- * Check if wfShellExec() is effectively disabled via php.ini config
- *
- * @return bool|string False or 'disabled'
- * @since 1.22
- * @deprecated since 1.30 use MediaWiki\Shell::isDisabled()
- */
-function wfShellExecDisabled() {
- wfDeprecated( __FUNCTION__, '1.30' );
- return Shell::isDisabled() ? 'disabled' : false;
-}
-
/**
* Execute a shell command, with time and memory limits mirrored from the PHP
* configuration if supported.