Configuration
History has some configuration settings which you can customise to suit your needs. These are:
| Name | Type | Description | Default |
|---|---|---|---|
| save_auto | Boolean | If set to TRUE, will automatically save each page into the history. | TRUE |
| save_ajax | Boolean | If set to TRUE, will save AJAX requests into the history. | FALSE |
| default_page | String | The default page to start the history off with, or go back to if the back() method is called without a history (if blank, goes to your domain). | |
| length | Integer | The maximum number of pages to be stored in the history. | 10 |
To modify your settings, open the application/config/history.php file with a text editor and set your preferred configuration settings.