summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-17 08:01:45 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-17 08:01:45 +0200
commit99d45242c3ae9fb21a64eeaf5b202c214a7513e6 (patch)
tree5994493f29304f036df8f0743530c0639cecac33 /user_guide_src
parent924ac35f6d5a51ab5a9c0a27fed246a5678c5ea6 (diff)
parent87ed4023ac153c53ac1e8eab651fa5131df2c61f (diff)
Merge pull request #3980 from kenjis/patch-2
[ci skip] Fix sample code
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.