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

@@ -154,7 +154,7 @@ class PageRequestEvent extends Event
public function get_page_size(): int
{
global $config;
return $config->get_int('index_images');
return $config->get_int(IndexConfig::IMAGES);
}
}