From 12617cf6602164a1b43a71aa8fc7c3571881d3be Mon Sep 17 00:00:00 2001 From: Master Yoda Date: Thu, 30 Apr 2015 02:32:59 -0700 Subject: Fix typos in user guide. Corrected "csrf_regenerate" in libraries/security.rst (it read "csrf_regeneration", incorrect per source code). Corrected "blog" as default controller in general/controllers.rst (it read "Blog", not per convention). --- user_guide_src/source/general/controllers.rst | 2 +- user_guide_src/source/libraries/security.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide_src/source') diff --git a/user_guide_src/source/general/controllers.rst b/user_guide_src/source/general/controllers.rst index bc8319dd8..7ab5a7f6a 100644 --- a/user_guide_src/source/general/controllers.rst +++ b/user_guide_src/source/general/controllers.rst @@ -138,7 +138,7 @@ present, as will be the case when only your site root URL is requested. To specify a default controller, open your **application/config/routes.php** file and set this variable:: - $route['default_controller'] = 'Blog'; + $route['default_controller'] = 'blog'; Where Blog is the name of the controller class you want used. If you now load your main index.php file without specifying any URI segments you'll diff --git a/user_guide_src/source/libraries/security.rst b/user_guide_src/source/libraries/security.rst index ac56fc589..16b397994 100644 --- a/user_guide_src/source/libraries/security.rst +++ b/user_guide_src/source/libraries/security.rst @@ -88,7 +88,7 @@ may alter this behavior by editing the following config parameter :: - $config['csrf_regeneration'] = TRUE; + $config['csrf_regenerate'] = TRUE; Select URIs can be whitelisted from csrf protection (for example API endpoints expecting externally POSTed content). You can add these URIs -- cgit v1.2.3-24-g4f1b