[eluser]TuxLyn[/eluser]
Hey guys, today I've discovered this peace of code that don't work.
All the parser code seems to stop working when this following command is used.
Code that not working:
Code:
$data = array( 'base' => base_url() );
Code that works:
Code:
$data['base'] = base_url();
This is when template parser is used instead of regular ($this->load->view) command.
Code:
$this->parser->parse('page', $data);
Can some one please explain why this could be happening ? Is this a bug perhaps ?
Thank you.