Skip to content

Commit 8d11e17

Browse files
authored
Add docs for app/Common.php
1 parent 95effac commit 8d11e17

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
************************
2+
Replace Common Functions
3+
************************
4+
5+
There a qutie a few functions necessary to CodeIgniter that need to load for use in the core classes and thus cannot
6+
be placed into a helper. While most users will never have any need to do this, but the option to replace these functions
7+
does exist for those who would like to significantly alter the CodeIgniter core. In the ``App\`` directory there is a
8+
file ``Common.php``, and any functions defined in there will take precedence over the versions found in
9+
``system/Common.php``. This is also an opportunity to create globally-available functions you intend to use throughout
10+
the framework.
11+
12+
.. note:: Messing with a core system class has a lot of implications, so make sure you know what you are doing before
13+
attempting it.

0 commit comments

Comments
 (0)