Update site-edit template

This commit is contained in:
DariusIII
2024-10-28 12:36:07 +01:00
parent 86b670b691
commit 0436fca876
2 changed files with 1 additions and 299 deletions
@@ -135,7 +135,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', storage_path('covers/'));
$this->smarty->assign('coversPath', config('nntmux_settings.covers_path'));
// 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']);