php-openid icon indicating copy to clipboard operation
php-openid copied to clipboard

examples/server/setup.php & SQLite broken

Open Lennie opened this issue 13 years ago • 0 comments

It seems that setup.php generates the wrong configuration in SQLite.

It generates something like: $s = new Auth_OpenID_SQLiteStore ('pathtosqlitedbfile');

While it should generate something similair to MySQL with: require_once ('DB.php');

$db =& DB::connect($dsn);

Because Auth_OpenID_SQLiteStore expects a PEAR-DB-connection-object.

Hope this helps.

Lennie avatar Apr 23 '11 10:04 Lennie