Skip to content

Instantly share code, notes, and snippets.

@bogdan-mainwp
Last active December 6, 2018 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bogdan-mainwp/b97fbddb462eed64c946be92b29fdd2f to your computer and use it in GitHub Desktop.
Save bogdan-mainwp/b97fbddb462eed64c946be92b29fdd2f to your computer and use it in GitHub Desktop.
Custom snippet for disabling OpenSSL.cnf usage.
<?php
// Add the following code snippet to the functions.php file of the MainWP Customisations plugin
// Download MainWP Customisations here: https://github.com/mainwp/mainwp-customisations
// More about the plugin: https://mainwp.com/mainwp-customisations/
// Disable OpenSSL.cnf usage
if ( ! defined( 'MAINWP_CRYPT_RSA_OPENSSL_CONFIG' ) ) {
define( 'MAINWP_CRYPT_RSA_OPENSSL_CONFIG', false );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment