aboutsummaryrefslogtreecommitdiff
path: root/www/list.php
diff options
context:
space:
mode:
authorJustin J. Novack <jnovack@gmail.com>2013-07-22 11:15:22 -0400
committerChristian Weiske <cweiske@cweiske.de>2013-08-20 22:13:59 +0200
commita8a7006fb93492febf83dfa89583447d958b18fb (patch)
tree4598d9973daeb9f45b1eae8c60d5a9ea661ab32e /www/list.php
parent9fcf10c0d05122e610a8944fc3dd77e0605ebb7f (diff)
downloadphorkie-a8a7006fb93492febf83dfa89583447d958b18fb.tar.gz
phorkie-a8a7006fb93492febf83dfa89583447d958b18fb.zip
Add perPage settings into config
Diffstat (limited to 'www/list.php')
-rw-r--r--www/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/list.php b/www/list.php
index 1ff8a87..88ad31d 100644
--- a/www/list.php
+++ b/www/list.php
@@ -15,7 +15,7 @@ if (isset($_GET['page'])) {
$page = (int)$_GET['page'] - 1;
}
-$perPage = 10;
+$perPage = $GLOBALS['phorkie']['cfg']['perPage'];
list($repos, $repoCount) = $rs->getList($page, $perPage);
$pager = new Html_Pager(