Revert constants removal changes

This commit is contained in:
DariusIII
2020-03-26 17:44:45 +01:00
parent cf5b1e666b
commit 7592fa9beb
45 changed files with 180 additions and 70 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', resource_path().'/covers/');
$this->smarty->assign('coversPath', NN_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']);