Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Loading Sequences
#1

[eluser]InsiteFX[/eluser]
Code:
/**
* CodeIgniter Loading sequence.
*
* So if you are having problems check out these loading sequences!
*
*/

1)  index.php - Sets up the paths and loads .system/core/codeigniter.php

2)  Loads Codeigniter.php - .system/core/codeigniter.php - loading sequences.

1)  Loads the CI framework constants - .system/core/Common.php

2)  Defines a custom error handler so it can log PHP errors

3)  Sets up the subclass_prefix

4)  Sets a liberal script execution time limit.

5)  Starts the benchmark timer.

6)  Instantiates the hooks class - .system/core/Hooks.php

7)  Checks for a "pre_system" hook?

8)  Instantiate the config class. - .system/core/Config.php

9)  Instantiate the UTF-8 class. - .system/core/Utf8.php

10) Instantiate the URI class. - .system/core/URI.php

11) Instantiate the routing class and set the routing. - .system/core/Router.php

12) Instantiate the output class. - .system/core/Output.php

13) Checks for a valid cache file?

14) Loads the security class for xss and csrf support. - .system/core/Security.php

15) Loads the Input class and sanitize globals. - .system/core/Input.php

16) Loads the Language class. .system/core/Lang.php

17) Loads the app controller and local controller. - .system/core/Controller.php

18) Checks for a "pre_controller" hook?

19) Instantiate the requested controller and assigns the CI object Class.

20) Checks for a "post_controller_constructor" hook?

21) Call the requested method and checks for _remap

22) Checks for a "post_controller" hook?

23) Sends the final rendered output to the browser.

24) Checks for a "post_system" hook?

25) Closes the DB connection if one exists.

If I missed any please let me know.

Thank you




Theme © iAndrew 2016 - Forum software by © MyBB