Remove option to set covers path in database, it is hardcoded now to resources/covers/

This commit is contained in:
DariusIII
2020-03-22 22:12:07 +01:00
parent 948658bf1d
commit 1e7244e5bc
40 changed files with 55 additions and 151 deletions
@@ -137,7 +137,7 @@ class SiteController extends BasePageController
$this->smarty->assign('lookup_reqids_ids', [0, 1, 2]);
$this->smarty->assign('lookup_reqids_names', ['Disabled', 'Lookup Request IDs', 'Lookup Request IDs Threaded']);
$this->smarty->assign('coversPath', NN_COVERS);
$this->smarty->assign('coversPath', resource_path().'/covers/');
// return a list of audiobooks, mags, ebooks, technical and foreign books
$result = Category::query()->whereIn('id', [Category::MUSIC_AUDIOBOOK, Category::BOOKS_MAGAZINES, Category::BOOKS_TECHNICAL, Category::BOOKS_FOREIGN])->get(['id', 'title']);