Something I noticed about $__Auth_OpenID_PEAR_AVAILABLE;

Asher Wolfstein asher at asherwolf.com
Sat Aug 11 21:09:55 PDT 2007


global $__Auth_OpenID_PEAR_AVAILABLE;
$__Auth_OpenID_PEAR_AVAILABLE = @include_once 'DB.php';

---

If DB is installed, but you use a descendent of  
Auth_OpenID_DatabaseConnection, say for MDB2 wrapper (if it was even  
necessary?  Did I just do work for nothing?)  This still returns a  
value, causing setfetchmode to throw an error later.

Was my MDB2 wrapper necessary?  I wanted to use it instead of DB.

Asher



More information about the Dev mailing list