Welcome Guest, Not a member yet? Register   Sign In
base_url() bug?
#1

[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.


Messages In This Thread
base_url() bug? - by El Forum - 08-11-2012, 04:29 PM
base_url() bug? - by El Forum - 08-11-2012, 04:54 PM
base_url() bug? - by El Forum - 08-11-2012, 06:43 PM
base_url() bug? - by El Forum - 08-11-2012, 07:27 PM
base_url() bug? - by El Forum - 08-11-2012, 07:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB