mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-05 07:52:10 +00:00
Correct a wrong value
This commit is contained in:
parent
c8f48c3361
commit
12173df0a3
@ -28,10 +28,10 @@ class PatchtesterViewPulls extends JView
|
|||||||
//@TODO: move the check
|
//@TODO: move the check
|
||||||
$checkErrs = array();
|
$checkErrs = array();
|
||||||
|
|
||||||
if(true == extension_loaded ('openssl'))
|
if(false == extension_loaded ('openssl'))
|
||||||
$checkErrs[] = 'The OpenSSL extension must be installed and enabled in your php.ini';
|
$checkErrs[] = 'The OpenSSL extension must be installed and enabled in your php.ini';
|
||||||
|
|
||||||
if(true == in_array('https', stream_get_wrappers()))
|
if(false == in_array('https', stream_get_wrappers()))
|
||||||
$checkErrs[] = 'https wrappers must be enabled';
|
$checkErrs[] = 'https wrappers must be enabled';
|
||||||
|
|
||||||
if (count($checkErrs))
|
if (count($checkErrs))
|
||||||
|
Loading…
Reference in New Issue
Block a user