add config const

This commit is contained in:
rsgrinko committed 2021-12-03 10:24:18 +03:00
1 parent 902956d759
commit 5ae1e268e5
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.php';
</thead>
<tbody>
<?php
CPagination::execute($_REQUEST['page'], CEvents::count(), $CONFIG['PAGINATION_LIMIT']);
CPagination::execute($_REQUEST['page'], CEvents::count(), PAGINATION_LIMIT);
$limit = CPagination::getLimit();
?>
<?php foreach (CEvents::getEvents('', $limit, 'DESC') as $event): ?>