}
$useOLAuth = false;
+$protected = false;
foreach ($metaData->xpath('//collection') as $collection) {
if('browserlending' == $collection) {
$useOLAuth = true;
+ $protected = true;
}
}
echo "br.olAuth = false;\n";
}
+if ($protected) {
+ echo "br.protected = true;\n";
+}
+
# Special cases
if ('bandersnatchhsye00scarrich' == $id) {
echo "br.mode = 2;\n";