Re: Image_Text mess in CVS

From: Date: Wed, 12 Nov 2003 11:41:26 +0000
Subject: Re: Image_Text mess in CVS
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23512@lists.php.net to get a copy of this message
> > 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. chdir(".."); should work in that case. A simple check with getcwd() would solve this problem aswell.. Cipri

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