}
}
+echo "br.olHost = 'http://openlibrary.org'\n";
+
if ($useOLAuth) {
echo "br.olAuth = true;\n";
} else {
function OLAuth() {
- this.authUrl = 'http://openlibrary.org/ia_auth/' + br.bookId;
+ this.authUrl = br.olHost + '/ia_auth/' + br.bookId;
this.olConnect = false;
return this;
}