Skip to content

Commit b6c3ddb

Browse files
authored
Merge pull request #5213 from kenjis/fix-docs-app-config-decoration
docs: unify the decoration of app/Config/*.php
2 parents d10a602 + 52af51d commit b6c3ddb

14 files changed

Lines changed: 24 additions & 23 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cilexer

user_guide_src/source/concepts/structure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ Modifying Directory Locations
8484
-----------------------------
8585

8686
If you've relocated any of the main directories, you can change the configuration
87-
settings inside ``app/Config/Paths``.
87+
settings inside **app/Config/Paths.php**.
8888

8989
Please read `Managing your Applications <../general/managing_apps.html>`_

user_guide_src/source/general/logging.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Configuration
3838
=============
3939

4040
You can modify which levels are actually logged, as well as assign different Loggers to handle different levels, within
41-
the ``/app/Config/Logger.php`` configuration file.
41+
the **app/Config/Logger.php** configuration file.
4242

4343
The ``threshold`` value of the config file determines which levels are logged across your application. If any levels
4444
are requested to be logged by the application, but the threshold doesn't allow them to log currently, they will be
@@ -140,8 +140,8 @@ You can use any other logger that you might like as long as it extends from eith
140140
that you can easily drop in use for any PSR3-compatible logger, or create your own.
141141

142142
You must ensure that the third-party logger can be found by the system, by adding it to either
143-
the ``/app/Config/Autoload.php`` configuration file, or through another autoloader,
144-
like Composer. Next, you should modify ``/app/Config/Services.php`` to point the ``logger``
143+
the **app/Config/Autoload.php** configuration file, or through another autoloader,
144+
like Composer. Next, you should modify **app/Config/Services.php** to point the ``logger``
145145
alias to your new class name.
146146

147147
Now, any call that is done through the ``log_message()`` function will use your library instead.

user_guide_src/source/general/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ would be used.
7373

7474
Another approach provided by CodeIgniter is to autoload these *non-class* files like how you would autoload
7575
your classes. All we need to do is provide the list of paths to those files and include them in the
76-
``$files`` property of your ``app/Config/Autoload.php`` file.
76+
``$files`` property of your **app/Config/Autoload.php** file.
7777

7878
::
7979

user_guide_src/source/helpers/cookie_helper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The following functions are available:
5050
detailed description of its use, as this function acts very
5151
similarly to ``IncomingRequest::getCookie()``, except it will also prepend
5252
the ``$cookiePrefix`` that you might've set in your
53-
*app/Config/App.php* file.
53+
**app/Config/App.php** file.
5454

5555
.. php:function:: delete_cookie($name[, $domain = ''[, $path = '/'[, $prefix = '']]])
5656

user_guide_src/source/helpers/text_helper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ The following functions are available:
257257
$string = convert_accented_characters($string);
258258

259259
.. note:: This function uses a companion config file
260-
`app/Config/ForeignCharacters.php` to define the to and
260+
**app/Config/ForeignCharacters.php** to define the to and
261261
from array for transliteration.
262262

263263
.. php:function:: word_censor($str, $censored[, $replacement = ''])

user_guide_src/source/incoming/controllers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ one and place your controller classes within them.
288288
Each of your sub-directories may contain a default controller which will be
289289
called if the URL contains *only* the sub-directory. Simply put a controller
290290
in there that matches the name of your 'default_controller' as specified in
291-
your *app/Config/Routes.php* file.
291+
your **app/Config/Routes.php** file.
292292

293293
CodeIgniter also permits you to remap your URIs using its :doc:`URI Routing <routing>` feature.
294294

user_guide_src/source/incoming/filters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ the final output, or even to filter the final output with a bad words filter.
8888
Configuring Filters
8989
*******************
9090

91-
Once you've created your filters, you need to configure when they get run. This is done in ``app/Config/Filters.php``.
91+
Once you've created your filters, you need to configure when they get run. This is done in **app/Config/Filters.php**.
9292
This file contains four properties that allow you to configure exactly when the filters run.
9393

9494
$aliases

user_guide_src/source/incoming/routing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ run the filter before or after the controller. This is especially handy during a
238238
$routes->resource('users');
239239
});
240240

241-
The value for the filter must match one of the aliases defined within ``app/Config/Filters.php``.
241+
The value for the filter must match one of the aliases defined within **app/Config/Filters.php**.
242242

243243
It is possible to nest groups within groups for finer organization if you need it::
244244

@@ -355,14 +355,14 @@ Applying Filters
355355
You can alter the behavior of specific routes by supplying filters to run before or after the controller. This is especially handy during authentication or api logging.
356356
The value for the filter can be a string or an array of strings:
357357

358-
* matching the aliases defined in ``app/Config/Filters.php``.
358+
* matching the aliases defined in **app/Config/Filters.php**.
359359
* filter classnames
360360

361361
See `Controller filters <filters.html>`_ for more information on setting up filters.
362362

363363
**Alias filter**
364364

365-
You specify an alias defined in ``app/Config/Filters.php`` for the filter value::
365+
You specify an alias defined in **app/Config/Filters.php** for the filter value::
366366

367367
$routes->add('admin',' AdminController::index', ['filter' => 'admin-auth']);
368368

@@ -477,7 +477,7 @@ Routes Configuration Options
477477
============================
478478

479479
The RoutesCollection class provides several options that affect all routes, and can be modified to meet your
480-
application's needs. These options are available at the top of `/app/Config/Routes.php`.
480+
application's needs. These options are available at the top of **app/Config/Routes.php**.
481481

482482
Default Namespace
483483
-----------------

user_guide_src/source/installation/installing_composer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Copy the ``env``, ``phpunit.xml.dist`` and ``spark`` files, from
140140
``vendor/codeigniter4/framework`` to your project root
141141

142142
You will have to adjust the system path to refer to the vendor one, e.g., ``ROOTPATH . '/vendor/codeigniter4/framework/system'``,
143-
- the ``$systemDirectory`` variable in ``app/Config/Paths.php``
143+
- the ``$systemDirectory`` variable in **app/Config/Paths.php**
144144

145145
Upgrading
146146
---------

0 commit comments

Comments
 (0)