Re: cvs: pear /Forum/lib/classes/db NNTPStandard.php

From: Date: Mon, 29 Oct 2001 21:44:11 +0000
Subject: Re: cvs: pear /Forum/lib/classes/db NNTPStandard.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1190@lists.php.net to get a copy of this message
Morgan Christiansson wrote: > > mog Mon Oct 29 16:23:19 2001 EDT > > > Index: pear/Forum/lib/classes/db/NNTPStandard.php > + if(!is_object($this->db)) { > + require_once("Net_NNTP/NNTP.php"); ^^^^^^^ Only a little point :-). Require statements are always included, use include* in condicional statements. Tomas V.V.Cox

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