Add DP OLS to known sources

This commit is contained in:
Alex Cabal 2019-01-23 17:46:35 -06:00
parent 02af93b654
commit f0575be98f
5 changed files with 15 additions and 1 deletions

View file

@ -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);
}