cvs: pear-core /PEAR Config.php

From: Date: Sun, 21 Aug 2005 03:48:21 +0000
Subject: cvs: pear-core /PEAR Config.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-3672@lists.php.net to get a copy of this message
cellog Sat Aug 20 23:48:21 2005 EDT Modified files: /pear-core/PEAR Config.php Log: do not attempt to read the ftp config file unless we can load PEAR/FTP.php http://cvs.php.net/diff.php/pear-core/PEAR/Config.php?r1=1.112&r2=1.113&ty=u Index: pear-core/PEAR/Config.php diff -u pear-core/PEAR/Config.php:1.112 pear-core/PEAR/Config.php:1.113 --- pear-core/PEAR/Config.php:1.112 Fri Aug 19 15:45:38 2005 +++ pear-core/PEAR/Config.php Sat Aug 20 23:48:16 2005 @@ -16,7 +16,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Config.php,v 1.112 2005/08/19 19:45:38 cellog Exp $ + * @version CVS: $Id: Config.php,v 1.113 2005/08/21 03:48:16 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -653,7 +653,7 @@ include_once 'Net/FTP.php'; } } - if (class_exists('Net_FTP')) { + if (class_exists('Net_FTP') && PEAR_Common::isIncludeable('Net/FTP.php')) { require_once 'PEAR/FTP.php'; $this->_ftp = &new PEAR_FTP; $this->_ftp->pushErrorHandling(PEAR_ERROR_RETURN);

« previous php.pear.core (#3672) next »