Constants for index config

This commit is contained in:
Matthew Barbour
2019-08-16 09:18:14 -05:00
committed by Shish
parent de39f3e5d7
commit 6b030c00eb
7 changed files with 88 additions and 73 deletions

View File

@@ -52,7 +52,7 @@ class ArrowkeyNavigation extends Extension
global $config, $database;
// get the amount of images per page
$images_per_page = $config->get_int('index_images');
$images_per_page = $config->get_int(IndexConfig::IMAGES);
// if there are no tags, use default
if (is_null($event->get_arg(1))) {