mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 02:38:55 +00:00
Replace custom path constants with laravel defined paths
This commit is contained in:
@@ -133,7 +133,7 @@ class AdminSiteController 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', storage_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']);
|
||||
|
||||
Reference in New Issue
Block a user