RE: [PEAR-DEV] Image_Text mess in CVS

From: Date: Wed, 12 Nov 2003 11:30:40 +0000
Subject: RE: [PEAR-DEV] Image_Text mess in CVS
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23510@lists.php.net to get a copy of this message
> From: Michael Bretterklieber [mailto:mbretter@a-quadrat.at] > Sent: Wednesday, November 12, 2003 12:30 PM > On Wed, 12 Nov 2003, Tobias Schlitt wrote: > how about adding something like this at the top of your test-scripts: > > if ($argv[1] == 'pearcvs') { > ini_set('include_path', '..:' . ini_get('include_path')); > require_once 'CHAP.php'; > } else { > require_once 'Crypt/CHAP.php'; > } That works for single file packages. It doesn't work for LiveUser for example where you have to copy stuff back and forth. For MDB there is no problem, since MDB has the same structure in CVS as when its installed (just as DB). Regards, Lukas

« previous php.pear.dev (#23510) next »