1
0
Fork 0

Increase number of pages shown in pagination.

This commit is contained in:
Andrew Tomaka 2011-11-14 09:31:34 -05:00
parent 5841670adb
commit 4322822906
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ class Gallery extends CI_Controller {
$config = array(
'base_url' => base_url('/gallery/index/'),
'total_rows' => $this->fileupload->count_uploads(),
'per_page' => $page_count
'per_page' => $page_count,
'num_links' => 5,
);
$this->pagination->initialize($config);