@@ -215,7 +215,7 @@ class App extends BaseConfig
215215 | Reverse Proxy IPs
216216 |--------------------------------------------------------------------------
217217 |
218- | If your getServer is behind a reverse proxy, you must whitelist the proxy
218+ | If your server is behind a reverse proxy, you must whitelist the proxy
219219 | IP addresses from which CodeIgniter should trust headers such as
220220 | HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
221221 | the visitor's IP address.
@@ -240,11 +240,13 @@ class App extends BaseConfig
240240 | CSRFCookieName = The cookie name
241241 | CSRFExpire = The number in seconds the token should expire.
242242 | CSRFRegenerate = Regenerate token on every submission
243+ | CSRFRedirect = Redirect to previous page with error on failure
243244 */
244245 public $ CSRFTokenName = 'csrf_test_name ' ;
245246 public $ CSRFCookieName = 'csrf_cookie_name ' ;
246247 public $ CSRFExpire = 7200 ;
247248 public $ CSRFRegenerate = true ;
249+ public $ CSRFRedirect = true ;
248250
249251 /*
250252 |--------------------------------------------------------------------------
@@ -270,6 +272,9 @@ class App extends BaseConfig
270272 | and state of your application during that page display. By default it will
271273 | NOT be displayed under production environments, and will only display if
272274 | CI_DEBUG is true, since if it's not, there's not much to display anyway.
275+ |
276+ | toolbarMaxHistory = Number of history files, 0 for none or -1 for unlimited
277+ |
273278 */
274279 public $ toolbarCollectors = [
275280 'CodeIgniter\Debug\Toolbar\Collectors\Timers ' ,
@@ -281,6 +286,7 @@ class App extends BaseConfig
281286 'CodeIgniter\Debug\Toolbar\Collectors\Routes ' ,
282287 'CodeIgniter\Debug\Toolbar\Collectors\Events ' ,
283288 ];
289+ public $ toolbarMaxHistory = 20 ;
284290
285291 /*
286292 |--------------------------------------------------------------------------
0 commit comments