mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Add DP OLS to known sources
This commit is contained in:
parent
02af93b654
commit
f0575be98f
5 changed files with 15 additions and 1 deletions
|
@ -289,6 +289,9 @@ class Ebook{
|
|||
elseif(mb_stripos($e, 'books.google.com/') !== false){
|
||||
$this->Sources[] = new EbookSource(SOURCE_GOOGLE_BOOKS, $e);
|
||||
}
|
||||
elseif(mb_stripos($e, 'www.pgdp.org/ols/') !== false){
|
||||
$this->Sources[] = new EbookSource(SOURCE_DP_OLS, $e);
|
||||
}
|
||||
else{
|
||||
$this->Sources[] = new EbookSource(SOURCE_OTHER, $e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue