cvs: pear /Net_Monitor/Monitor/Alert Growl.php SMS.php SMTP.php

From: Date: Fri, 03 Mar 2006 07:25:50 +0000
Subject: cvs: pear /Net_Monitor/Monitor/Alert Growl.php SMS.php SMTP.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38877@lists.php.net to get a copy of this message
toggg Fri Mar 3 07:25:50 2006 UTC Modified files: /pear/Net_Monitor/Monitor/Alert Growl.php SMS.php SMTP.php Log: include_once instead of require_once so we die direct if needed package is not installed. http://cvs.php.net/viewcvs.cgi/pear/Net_Monitor/Monitor/Alert/Growl.php?r1=1.2&r2=1.3&diff_format=u Index: pear/Net_Monitor/Monitor/Alert/Growl.php diff -u pear/Net_Monitor/Monitor/Alert/Growl.php:1.2 pear/Net_Monitor/Monitor/Alert/Growl.php:1.3 --- pear/Net_Monitor/Monitor/Alert/Growl.php:1.2 Sat Feb 18 03:25:49 2006 +++ pear/Net_Monitor/Monitor/Alert/Growl.php Fri Mar 3 07:25:50 2006 @@ -25,9 +25,10 @@ */ require_once 'Net/Monitor/Alert.php'; /** - * requires and uses the Net_Growl class to send Growl alerts + * includes and uses the Net_Growl class to send Growl alerts + * FATAL if Net_Growl is not installed */ -require_once 'Net/Growl.php'; +include_once 'Net/Growl.php'; /** * class Net_Monitor_Alert_Growl * http://cvs.php.net/viewcvs.cgi/pear/Net_Monitor/Monitor/Alert/SMS.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Net_Monitor/Monitor/Alert/SMS.php diff -u pear/Net_Monitor/Monitor/Alert/SMS.php:1.8 pear/Net_Monitor/Monitor/Alert/SMS.php:1.9 --- pear/Net_Monitor/Monitor/Alert/SMS.php:1.8 Sat Feb 18 03:25:49 2006 +++ pear/Net_Monitor/Monitor/Alert/SMS.php Fri Mar 3 07:25:50 2006 @@ -20,7 +20,7 @@ * @author Bertrand Gugger <bertrand@toggg.com> * @copyright 2004-2006 Bertrand Gugger * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: SMS.php,v 1.8 2006/02/18 03:25:49 toggg Exp $ + * @version CVS: $Id: SMS.php,v 1.9 2006/03/03 07:25:50 toggg Exp $ * @link http://pear.php.net/package/PackageName * @since File available since Release 0.0.6 */ @@ -29,9 +29,10 @@ */ require_once 'Net/Monitor/Alert.php'; /** - * requires and uses the Net_SMS class for SMS alerts + * includes and uses the Net_SMS class for SMS alerts + * FATAL if Net_SMS is not installed */ -require_once 'Net/SMS.php'; +include_once 'Net/SMS.php'; /** * Net_Monitor_Alert_SMS * http://cvs.php.net/viewcvs.cgi/pear/Net_Monitor/Monitor/Alert/SMTP.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Net_Monitor/Monitor/Alert/SMTP.php diff -u pear/Net_Monitor/Monitor/Alert/SMTP.php:1.8 pear/Net_Monitor/Monitor/Alert/SMTP.php:1.9 --- pear/Net_Monitor/Monitor/Alert/SMTP.php:1.8 Sat Feb 18 03:25:49 2006 +++ pear/Net_Monitor/Monitor/Alert/SMTP.php Fri Mar 3 07:25:50 2006 @@ -20,7 +20,7 @@ * @author Bertrand Gugger <bertrand@toggg.com> * @copyright 2004-2006 Robert Peake * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: SMTP.php,v 1.8 2006/02/18 03:25:49 toggg Exp $ + * @version CVS: $Id: SMTP.php,v 1.9 2006/03/03 07:25:50 toggg Exp $ * @link http://pear.php.net/package/PackageName * @since File available since Release 0.0.6 */ @@ -30,8 +30,9 @@ require_once 'Net/Monitor/Alert.php'; /** * requires and uses the Mail class to send SMTP alerts + * FATAL if Mail is not installed */ -require_once 'Mail.php'; +include_once 'Mail.php'; /** * Net_Monitor_Alert_SMTP *

« previous php.pear.cvs (#38877) next »