Welcome Guest, Not a member yet? Register   Sign In
Controller & access other class properties
#2

[eluser]JoostV[/eluser]
You can use your settings.php as a custom config file. Place it in applications/config and call it in your controller using
Code:
$this->config->load('settings');

As for how to set up a custom config file, read the user guide: http://ellislab.com/codeigniter/user-gui...onfig.html


Messages In This Thread
Controller & access other class properties - by El Forum - 10-22-2008, 12:30 AM
Controller & access other class properties - by El Forum - 10-22-2008, 12:55 AM
Controller & access other class properties - by El Forum - 10-22-2008, 01:15 AM
Controller & access other class properties - by El Forum - 10-22-2008, 01:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB