Welcome Guest, Not a member yet? Register   Sign In
Acessing & modifying config items from library
#5

[eluser]AlexDSX[/eluser]
Got my solution. Smile

Code:
public function css($name = '', $path = '')
  {
   $this->CI =& get_instance();
   $template = $this->CI->config->item('template');
   $template['css'][$name] = $path;
   $this->CI->config->set_item('template', $template);
  }

It needs work but it's an example if anyone else has the same question. Smile


Messages In This Thread
Acessing & modifying config items from library - by El Forum - 04-24-2012, 01:01 PM
Acessing & modifying config items from library - by El Forum - 04-24-2012, 02:16 PM
Acessing & modifying config items from library - by El Forum - 04-24-2012, 02:18 PM
Acessing & modifying config items from library - by El Forum - 04-24-2012, 02:19 PM
Acessing & modifying config items from library - by El Forum - 04-24-2012, 03:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB