[eluser]danielbertini[/eluser]
Hello all, I am developing a system where customers can add their own pages, the parser CodeIgniter is very simple so I decided to use the Dwoo. All installed, configured and running but the .tpl allows customers to run php code and this can not happen in my project.
Has anyone experienced this and have any idea why?
In controller:
Code:
$this->load->library('Dwootemplate');
$this->dwootemplate->assign('itshowlate', 'test');
$this->dwootemplate->display($this->session->userdata('store_store_id').'/tpl/index.tpl', $data);
In view (.tpl):
Code:
<?php echo "daniel"; ?> // actually allow
<br />var: {itshowlate}
result:
daniel
var: test
Regards,
Daniel.