Welcome Guest, Not a member yet? Register   Sign In
constants and custom config settings
#1

[eluser]fivestringsurf[/eluser]
I have always (when not using CI) typically placed constants and config settings in one file "config.php" and included it at the top of each php page. This has given me access to things like: live vs. local status, constants like: max character length, locations, etc...

Where's a good place to include this basic initialization stuff in CI sticking with MVC philosophy of course?
placing constants in ci's config didn't work...and loading a library with this stuff seems kind of sloppy and misplaced.

Any advice would be appreciated; thank you in advance.


Messages In This Thread
constants and custom config settings - by El Forum - 04-06-2011, 05:54 PM
constants and custom config settings - by El Forum - 04-07-2011, 12:39 AM
constants and custom config settings - by El Forum - 04-07-2011, 01:57 AM
constants and custom config settings - by El Forum - 04-07-2011, 06:10 PM
constants and custom config settings - by El Forum - 04-07-2011, 11:13 PM
constants and custom config settings - by El Forum - 04-08-2011, 07:19 PM
constants and custom config settings - by El Forum - 04-09-2011, 01:07 AM
constants and custom config settings - by El Forum - 04-09-2011, 08:05 AM
constants and custom config settings - by El Forum - 04-19-2011, 08:18 AM
constants and custom config settings - by El Forum - 04-19-2011, 08:26 AM
constants and custom config settings - by El Forum - 04-21-2011, 04:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB