Beispiel #1
0
 * 
 * For questions, help, comments, discussion, etc., please join the
 * Agileco community forums at http://forum.agileco.com/ 
 *
 * @link http://www.agileco.com/
 * @copyright 2004-2008 Agileco, LLC.
 * @license http://www.agileco.com/agilebill/license1-4.txt
 * @author Tony Landis <*****@*****.**> 
 * @package AgileBill
 * @version 1.4.93
 */
# Debug
if (empty($VAR) && empty($VAR['do']) && !defined("PATH_AGILE")) {
    include_once '../../config.inc.php';
    $test = new CORE_ssl();
    $test->test();
}
class CORE_ssl
{
    function CORE_ssl($type = false)
    {
        $disabled_functions = ini_get('disable_functions');
        if (defined("PATH_CURL") && is_file(PATH_CURL)) {
            $this->connect_curl_binary = true;
        }
        if (function_exists('curl_init') && ($curl_version = curl_version())) {
            if (phpversion() >= 5) {
                if (preg_match('/openssl/i', @$curl_version['ssl_version'])) {
                    $this->connect_curl_module = true;
                }
            } else {