From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001
From: Derek Jones
$this->load->library('pagination');
-$config['base_url'] = 'http://www.your-site.com/index.php/test/page/';
+$config['base_url'] = 'http://example.com/index.php/test/page/';
$config['total_rows'] = '200';
$config['per_page'] = '20';
@@ -121,9 +121,9 @@ something different you can specify it.
By default, the pagination library assume you are using URI Segments, and constructs your links something like
-http://www.your-site.com/index.php/test/page/20
http://example.com/index.php/test/page/20
If you have $config['enable_query_strings'] set to TRUE your links will automatically be re-written using Query Strings. This option can also be explictly set. Using $config['page_query_string'] set to TRUE, the pagination link will become.
-http://www.your-site.com/index.php?c=test&m=page&per_page=20
http://example.com/index.php?c=test&m=page&per_page=20
Note that "per_page" is the default query string passed, however can be configured using $config['query_string_segment'] = 'your_string'