File tree Expand file tree Collapse file tree
user_guide_src/source/extending Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22Replace Common Functions
33************************
44
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.
5+ There a quite a few functions necessary to CodeIgniter that need to be loaded early for use in the core classes and
6+ thus cannot be placed into a helper. While most users will never have any need to do this, but the option to replace
7+ these functions does exist for those who would like to significantly alter the CodeIgniter core. In the ``App\ ``
8+ directory there is a file ``Common.php ``, and any functions defined in there will take precedence over the versions
9+ found in ``system/Common.php ``. This is also an opportunity to create globally-available functions you intend to
10+ use throughout the framework.
1111
1212.. note :: Messing with a core system class has a lot of implications, so make sure you know what you are doing before
1313 attempting it.
You can’t perform that action at this time.
0 commit comments