mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
Revert constants removal changes
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user