Auth.php issues : file locations standards & args
| From: | Alan Knowles | Date: | Thu, 10 Jul 2003 02:16:38 +0000 |
| Subject: | Auth.php issues : file locations standards & args | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-18110@lists.php.net to get a copy of this message | ||
Just having a go integratating pear auth into my little framework, I notice a few oddities..
A)
<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 -- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com