Changed require Crypt/RSA.php to require_once

This change allows the lib usage with an autoloader.
This commit is contained in:
Hoffstadt 2015-06-18 13:32:51 +02:00
parent 4756c82118
commit cb4fe9c632

View File

@ -7,7 +7,7 @@
*/ */
// From http://phpseclib.sourceforge.net/ // From http://phpseclib.sourceforge.net/
require 'Crypt/RSA.php'; require_once 'Crypt/RSA.php';
require_once dirname(__FILE__).'/openpgp.php'; require_once dirname(__FILE__).'/openpgp.php';
@include_once dirname(__FILE__).'/openpgp_crypt_symmetric.php'; /* For encrypt/decrypt */ @include_once dirname(__FILE__).'/openpgp_crypt_symmetric.php'; /* For encrypt/decrypt */