File tree Expand file tree Collapse file tree
user_guide_src/source/libraries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ error message. This is used with the ``showError()`` method where a field must b
571571Configuration
572572=============
573573
574- Once you have your views created, you need to let the Validation library know about them. Open `` Config/Validation.php `` .
574+ Once you have your views created, you need to let the Validation library know about them. Open ** app/ Config/Validation.php** .
575575Inside, you'll find the ``$templates `` property where you can list as many custom views as you want, and provide an
576576short alias they can be referenced by. If we were to add our example file from above, it would look something like:
577577
@@ -602,7 +602,7 @@ autoloader can find it. These files are called RuleSets.
602602Adding a RuleSet
603603----------------
604604
605- To add a new RuleSet, edit **Config/Validation.php ** and
605+ To add a new RuleSet, edit **app/ Config/Validation.php ** and
606606add the new file to the ``$ruleSets `` array:
607607
608608.. literalinclude :: validation/033.php
@@ -618,7 +618,7 @@ a boolean true or false value signifying true if it passed the test or false if
618618
619619.. literalinclude :: validation/034.php
620620
621- By default, the system will look within `` CodeIgniter\ Language\en\ Validation.php`` for the language strings used
621+ By default, the system will look within ** system/ Language/en/ Validation.php** for the language strings used
622622within errors. In custom rules, you may provide error messages by accepting a ``&$error `` variable by reference in the
623623second parameter:
624624
You can’t perform that action at this time.
0 commit comments