Skip to content

Commit 5cd7ff2

Browse files
committed
docs: break long lines
1 parent 6cb01b1 commit 5cd7ff2

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

user_guide_src/source/libraries/uploaded_files.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
Working with Uploaded Files
33
###########################
44

5-
CodeIgniter makes working with files uploaded through a form much simpler and more secure than using PHP's ``$_FILES``
6-
array directly. This extends the :doc:`File class </libraries/files>` and thus gains all of the features of that class.
5+
CodeIgniter makes working with files uploaded through a form much simpler and
6+
more secure than using PHP's ``$_FILES`` array directly. This extends the
7+
:doc:`File class </libraries/files>` and thus gains all of the features of that
8+
class.
79

810
.. note:: This is not the same as the File Uploading class in CodeIgniter 3.
911
This provides a raw interface to the uploaded files with a few small features.

user_guide_src/source/libraries/validation.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,9 +1044,10 @@ file validation.
10441044
files. Therefore, adding any general rules, like ``permit_empty``, to file
10451045
validation rules array or string, the file validation will not work correctly.
10461046

1047-
Since the value of a file upload HTML field doesn't exist, and is stored in the ``$_FILES`` global, the name of the input field will
1048-
need to be used twice. Once to specify the field name as you would for any other rule, but again as the first parameter of all
1049-
file upload related rules::
1047+
Since the value of a file upload HTML field doesn't exist, and is stored in the
1048+
``$_FILES`` global, the name of the input field will need to be used twice. Once
1049+
to specify the field name as you would for any other rule, but again as the first
1050+
parameter of all file upload related rules::
10501051

10511052
// In the HTML
10521053
<input type="file" name="avatar">

0 commit comments

Comments
 (0)