Welcome Guest, Not a member yet? Register   Sign In
Problems with Config file in custom Libarys [solved]
#2

[eluser]xwero[/eluser]
You can make a custom config file (config/widget.php) and you can autoload them or call them in the library
Code:
class Widget
{
    var $CI;

    function Widget()
    {
        $this->CI = & get_instance();
        $this->CI->load->config('widget');
    }
}


Messages In This Thread
Problems with Config file in custom Libarys [solved] - by El Forum - 10-23-2007, 04:58 PM
Problems with Config file in custom Libarys [solved] - by El Forum - 10-24-2007, 12:56 AM
Problems with Config file in custom Libarys [solved] - by El Forum - 10-24-2007, 03:20 AM
Problems with Config file in custom Libarys [solved] - by El Forum - 10-24-2007, 03:28 AM
Problems with Config file in custom Libarys [solved] - by El Forum - 10-24-2007, 03:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB