48
49
//Check if possible to use ssh2 functions.
49
50
if ( ! extension_loaded('ssh2') ) {
50
51
$this->errors->add('no_ssh2_ext', __('The ssh2 PHP extension is not available'));
53
54
if ( !function_exists('stream_get_contents') ) {
54
55
$this->errors->add('ssh2_php_requirement', __('The ssh2 PHP extension is available, however, we require the PHP5 function <code>stream_get_contents()</code>'));