How to organize applications ? |
@ MathCmsCode,
I created a Base_Controller which all the controllers extend. The Base_Controller detects the URI and sets a public $uri variable. This variable is checked (in a switch statement) and the relevant CSS and JavaScript files included in a common HTML Header file... which is included in all the views. https://codeigniter.com/user_guide/exten...controller |
Welcome Guest, Not a member yet? Register Sign In |