X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Finstall.php;h=dc91f848e6c74ea99f31b662ae7ee880a4a974ad;hb=1207bb1b55f402074a73d9ff0221ff8c9a6a285a;hp=fa534fe12cb9866147fa44baa1e717548520a203;hpb=ad86a5193e60a23d56abb98197538a7bd6431931;p=friendica.git diff --git a/mod/install.php b/mod/install.php index fa534fe12c..dc91f848e6 100644 --- a/mod/install.php +++ b/mod/install.php @@ -19,7 +19,7 @@ function install_post(&$a) { if(mysqli_connect_errno()) { $db = new dba($dbhost, $dbuser, $dbpass, '', true); - if(! mysql_connect_errno()) { + if(! mysqli_connect_errno()) { $r = q("CREATE DATABASE '%s'", dbesc($dbdata) ); @@ -151,9 +151,10 @@ function check_keys() { // Get private key - if(! $res) - $o .= t('Error: the "openssl_pkey_new" function on this system is not able to generate encryption keys') . EOL; - + if(! $res) { + $o .= t('Error: the "openssl_pkey_new" function on this system is not able to generate encryption keys') . EOL; + $o .= t('If running under Windows, please see "http://www.php.net/manual/en/openssl.installation.php".') . EOL; + } return $o; }