summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-17 10:38:02 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-17 10:38:02 +0200
commitf70212c98c9513c21a82b0fb6cecd7be330fa580 (patch)
tree417a64ce252497f1d779b3f9dc1ddee8314639c3 /user_guide_src
parentcfc9e77c89ee5377b25e411ef3d8ab43c8900b7e (diff)
parent99d45242c3ae9fb21a64eeaf5b202c214a7513e6 (diff)
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter into develop
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/output.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/output.rst b/user_guide_src/source/libraries/output.rst
index 4b36d2a03..84529f766 100644
--- a/user_guide_src/source/libraries/output.rst
+++ b/user_guide_src/source/libraries/output.rst
@@ -160,7 +160,7 @@ Class Reference
Permits you to manually set a server status header. Example::
- $this->output->set_status_header('401');
+ $this->output->set_status_header(401);
// Sets the header as: Unauthorized
`See here <http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html>`_ for a full list of headers.
@@ -230,4 +230,4 @@ Class Reference
->_display();
exit;
- .. note:: Calling this method manually without aborting script execution will result in duplicated output. \ No newline at end of file
+ .. note:: Calling this method manually without aborting script execution will result in duplicated output.