| /trunk/config/locum.ini.sample |
|---|
| 88,8 → 88,9 |
| ; scope a search for, say "books" to material code a, b, and c if a, b, and c |
| ; are print/books |
| ; in that case, the option would be, books = "a, b, c" |
| ; For an 'everything' group use "" |
| [format_groups] |
| everything = "all" |
| everything = "" |
| books = "1, 2, a, g" |
| movies = "4, d" |
| music = "6" |
| /trunk/locum-server.php |
|---|
| 775,6 → 775,7 |
| if ($dbres[0]['links']) { |
| $links = explode('|', $dbres[0]['links']); |
| } else { |
| $db->query("DELETE FROM locum_syndetics_links WHERE isbn = '$isbn' AND updated < DATE_SUB(NOW(), INTERVAL 2 MONTH)"); |
| $xmlurl = "http://www.syndetics.com/index.aspx?isbn=$isbn/index.xml&client=$cust_id&type=xw10"; |
| $xmlraw = file_get_contents($xmlurl); |
| if (!preg_match('/error/', $xmlraw)) { |