File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * The goal of this file is to allow developers a location
5+ * where they can overwrite core procedural functions and
6+ * replace them with their own. This file is loaded during
7+ * the bootstrap process and is called during the frameworks
8+ * execution.
9+ *
10+ * This can be looked at as a `master helper` file that is
11+ * loaded early on, and may also contain additional functions
12+ * that you'd like to use throughout your entire application
13+ *
14+ * @link: https://codeigniter4.github.io/CodeIgniter4/
15+ */
Original file line number Diff line number Diff line change 9696 require_once APPPATH . 'Config/Constants.php ' ;
9797}
9898
99+ // Let's see if an app/Common.php file exists
100+ if (file_exists (APPPATH . 'Common.php ' ))
101+ {
102+ require_once APPPATH . 'Common.php ' ;
103+ }
104+
105+ // Require system/Common.php
99106require_once SYSTEMPATH . 'Common.php ' ;
100107
101108/*
You can’t perform that action at this time.
0 commit comments