Re: Auth.php issues continued.....
| From: | Alan Knowles | Date: | Thu, 10 Jul 2003 02:21:20 +0000 |
| Subject: | Re: Auth.php issues continued..... | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18111@lists.php.net to get a copy of this message | ||
function Auth_Container_File($filename)
{
if (!is_file($filename)) {
return PEAR::raiseError("Illegal filename.", 41, PEAR_ERROR_DIE);
}
Any chance changing that to:
PEAR::raiseError("Auth_Containter_File:: file '$filename' is not a valid filename, 41, PEAR_ERROR_DIE")
Regards
Alan
Alan Knowles wrote:
Just having a go integratating pear auth into my little framework, I notice a few oddities.. A)-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com<file role="php" baseinstalldir="Auth" name="Auth.php"/>is installing Auth into Auth/Auth.php - I thought the standard for this was to stick it in the top level directory. B) contructors $auth = new Auth('File','filename'); $auth = new Auth('DB',array(..dsn..)) $auth = new Auth('DB','...dsn..') $auth = new Auth('SOAP',array(...lots of stuff..)) Would it be posible to standardize on new Auth($driver,$assocativeArray) to work on all drivers? - it makes writing config code for it alot easier.. Regards Alan