Welcome Guest, Not a member yet? Register   Sign In
Custom Configuration File For Application
#15

[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui...ation.html

Quote:Setting preferences in a config file

If you prefer not to set preferences using the above method, you can instead put them into a config file. Simply create a new file called pagination.php, add the $config array in that file. Then save the file in: config/pagination.php and it will be used automatically. You will NOT need to use the $this->pagination->initialize function if you save your preferences in a config file.


Messages In This Thread
Custom Configuration File For Application - by El Forum - 01-29-2009, 08:52 AM
Custom Configuration File For Application - by El Forum - 01-29-2009, 09:16 AM
Custom Configuration File For Application - by El Forum - 01-29-2009, 10:31 AM
Custom Configuration File For Application - by El Forum - 09-21-2009, 04:56 PM
Custom Configuration File For Application - by El Forum - 09-22-2009, 12:23 AM
Custom Configuration File For Application - by El Forum - 09-22-2009, 02:44 AM
Custom Configuration File For Application - by El Forum - 09-22-2009, 03:17 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 06:23 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 07:32 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 08:50 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 09:25 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 11:05 AM
Custom Configuration File For Application - by El Forum - 04-30-2010, 12:50 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 01:47 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 01:49 PM
Custom Configuration File For Application - by El Forum - 04-30-2010, 03:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB